[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

Max Rydahl Andersen (JIRA) issues at jboss.org
Thu Oct 16 04:14:36 EDT 2014


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

Max Rydahl Andersen commented on JBIDE-18654:
---------------------------------------------

original mail from rory.odonnel at oracle.com where context was netty/wildfly:

>>As part of the preparations for JDK 9, Oracle’s engineers have been analyzing open source projects like yours to understand usage.
>> One area of concern involves identifying compatibility problems, such as reliance on JDK-internal APIs.
>>
>> Our engineers have already prepared guidance on migrating some of the more common usage patterns of JDK-internal APIs to supported public interfaces. The list is on the OpenJDK 
>> wiki [0], along with instructions on how to run the jdeps analysis tool yourself .
>>
>> As part of the ongoing development of JDK 9, I would like to encourage migration from JDK-internal APIs towards the supported Java APIs. I have prepared a report for your 
>> project release netty-4.0.23 based on the jdeps output.
>>
>> The report is attached to this e-mail.
>>
>> For anything where your migration path is unclear, I would appreciate comments on the JDK-internal API usage patterns in the attached jdeps report, (if any) - in particular 
>> comments elaborating on the rationale for them - either to me or on the adoption-discuss [1] mailing list at OpenJDK.
>>
>> Finding suitable replacements for unsupported interfaces is not always straightforward, which is why I am reaching out to you early in the JDK 9 development cycle so you can 
>> give feedback about new APIs that may be needed to facilitate this exercise.
>>
>> Thank you in advance for any efforts and feedback helping us make JDK 9 better.
>>
>> Rgds,Rory
>>
>> P.S. I will send a separate email on the analysis of wildfly-8.1.0 .
>>
>> [0] https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
>> [1] http://mail.openjdk.java.net/mailman/listinfo/adoption-discuss


> 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
>            Reporter: Max Rydahl Andersen
>
> 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
(v6.3.1#6329)



More information about the jbosstools-issues mailing list