[wildfly-dev] Analysis of wildfly-8.1.0 dependency on JDK-Internal APIs

Rebecca Searls rsearls at redhat.com
Tue Sep 16 13:59:06 EDT 2014


I ran jdeps on apache CXF ( http://git-wip-us.apache.org/repos/asf/cxf.git,  branch 3.0.x-fixes)
and got the following results.

---
digraph "ehcache-2.8.1.jar" {
    // Path: ./services/sts/sts-war/target/SecurityTokenService/WEB-INF/lib/ehcache-2.8.1.jar
   "net.sf.ehcache.pool.sizeof.UnsafeSizeOf"          -> "sun.misc.Unsafe (JDK internal API (rt.jar))";
}
	
---
digraph "woodstox-core-asl-4.3.0.jar" {
    // Path: ./services/sts/sts-war/target/SecurityTokenService/WEB-INF/lib/woodstox-core-asl-4.3.0.jar
   "com.ctc.wstx.msv.GenericMsvValidator"             -> "org.relaxng.datatype.Datatype (JDK internal API (tools
.jar))";
}



----- Original Message -----
> From: "Rory O'Donnell Oracle, Dublin Ireland" <rory.odonnell at oracle.com>
> To: "Rebecca Searls" <rsearls at redhat.com>
> Cc: "Tomaž Cerar" <tomaz.cerar at gmail.com>, "Norman Maurer" <norman.maurer at googlemail.com>, "Balchandra Vaidya"
> <Balchandra.Vaidya at oracle.com>, wildfly-dev at lists.jboss.org, "Dalibor Topic" <dalibor.topic at oracle.com>
> Sent: Tuesday, September 16, 2014 12:08:20 PM
> Subject: Re: [wildfly-dev] Analysis of wildfly-8.1.0 dependency on JDK-Internal APIs
> 
> Hi Rebecca,
> 
> Not yet, we have a long list of FOSS Projects which we are targeting and I
> can't say when we will get to it. In the mean time the tool is available
> here:
> 
> https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
> 
> Feel free to run it yourself and post results.
> 
> Rgds,Rory
> 
> 
> On 16/09/2014 16:08, Rebecca Searls wrote:
> > Has Oracle run the tool on apache's CXF project?
> >
> > ----- Original Message -----
> >> From: "Rory O'Donnell Oracle, Dublin Ireland" <rory.odonnell at oracle.com>
> >> To: "Tomaž Cerar" <tomaz.cerar at gmail.com>
> >> Cc: "Norman Maurer" <norman.maurer at googlemail.com>, "Balchandra Vaidya"
> >> <Balchandra.Vaidya at oracle.com>,
> >> wildfly-dev at lists.jboss.org, "Dalibor Topic" <dalibor.topic at oracle.com>
> >> Sent: Thursday, September 11, 2014 10:33:44 AM
> >> Subject: [wildfly-dev] Analysis of wildfly-8.1.0 dependency on
> >> JDK-Internal	APIs
> >>
> >> Hi Tomaz,
> >>
> >> 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 wildfly-8.1.0 release  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 this list.
> >>
> >> 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
> >>
> >> [0]
> >> https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
> >>
> >> --
> >> Rgds,Rory O'Donnell
> >> Quality Engineering Manager
> >> Oracle EMEA , Dublin, Ireland
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> wildfly-dev mailing list
> >> wildfly-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> 
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
> 
> 
> 
> 
> 



More information about the wildfly-dev mailing list