[jbosstools-issues] [JBoss JIRA] (JBIDE-18654) run jdeps on our jars to see how dependent we are on api that might go away in Java 9

Nick Boldt (JIRA) issues at jboss.org
Tue Dec 19 10:10:01 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-18654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507124#comment-13507124 ] 

Nick Boldt edited comment on JBIDE-18654 at 12/19/17 10:09 AM:
---------------------------------------------------------------

I've added a new jdk9 profile which can be used with the jdeps one to check against jdk 9.

Assuming your default JDK is 8, and you have OpenJDK 9 installed in the path below, here's how you can run a build using JDK 9. 

NOTE: Requires *Maven 3.5.2* and *Tycho 1.1.0-SNAPSHOT* (hence the -U flag):
{code}
export JAVA_HOME=/usr/lib/jvm/java-9/
mvn clean install -U -Pjdk9 -Pjdeps
{code}



was (Author: nickboldt):
I've added a new jdk9 profile which can be used with the jdeps one to check against jdk 9.

Assuming your default JDK is 8, and you have OpenJDK 9 installed in the path below, here's how you can run a build using JDK 9. Requires Maven 3.5.2 and Tycho 1.1.0-SNAPSHOT:
{code}
export JAVA_HOME=/usr/lib/jvm/java-9/
mvn clean install -U -Pjdk9 -Pjdeps
{code}


> run jdeps on our jars to see how dependent we are on api that might go away in Java 9
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18654
>                 URL: https://issues.jboss.org/browse/JBIDE-18654
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: build
>    Affects Versions: 4.2.0.Final
>            Reporter: Max Rydahl Andersen
>            Assignee: Jeff MAURY
>             Fix For: 4.5.2.Final
>
>
> Java 9 JDK team have been pinging various teams to check if they got depedency on API that is scheduled to disappear in Java 9.
> There is a tool called jdeps that we can use to check for this using the -jdkinternals flag.
> https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
> The sooner the better we get this done as it is feedback to the Java 9 team.
> If we can we should try run it on *all* jars, even eclipse ones to see what will be affected - but first of all jboss tools plugins.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list