[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 16:13:00 EST 2017


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

Nick Boldt edited comment on JBIDE-18654 at 12/19/17 4:12 PM:
--------------------------------------------------------------

This can now be done in Jenkins, using a toolchains.xml file, 2 new OPENJDK18 and OPENJDK19 global config variables, and either Open [11] or Oracle JDK [10] .

[11] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-build.parent-jdk9_master/11/
[10] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-build.parent-jdk9_master/10/

To use the -Pjdeps profile, need to set toolchains file too. 
See section "Provide Configuration files" for how to specify the toolchains file for JDK 9.
Then use -Djdeps-jdk-vendor=openjdk *(default in parent pom)* or -Djdeps-jdk-vendor=oraclejdk to pick a vendor.

Next, trying this with Base...

https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstools-base-jdk9_master/1/console


was (Author: nickboldt):
This can now be done in Jenkins, using a toolchains.xml file, 2 new OPENJDK18 and OPENJDK19 global config variables, and either Open [11] or Oracle JDK [10] .

[11] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-build.parent-jdk9_master/11/
[10] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-build.parent-jdk9_master/10/

Next, trying this with Base...

https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstools-base-jdk9_master/1/console

> 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