Review request for 8050804: (jdeps) Recommend supported API to replace use of JDK internal API
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Jul 16 13:10:14 UTC 2014
Hi Mandy,
here is a typical output - with names mangled to save
space:
s.u.l.p.LPA (rt.jar)
-> s.s.a.GP JDK internal API (Use j.s.PA @since 1.1)
-> s.u.c.CLDRLPA JDK internal API (rt.jar)
In the first dependency line, the archive name has been replaced
by the 'Use ...' message.
I wonder whether it would be better to keep the archive name
and print the use message as additional information, in order
to be 'script friendly' so that you could use things like
| grep 'rt.jar' on the output.
best regards,
-- daniel
On 7/16/14 1:35 AM, Mandy Chung wrote:
> jdeps -jdkinternals flags use of JDK internal APIs. We have created a
> wiki page to keep track of the JDK internal APIs and its replacement:
> https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
>
> While this page will be updated when we identify any new ones
> worthnoting, it'd still be useful for jdeps to suggest the replacement
> APIs of the known ones.
>
> webrev at:
> http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8050804/webrev.00/
>
> Mandy
More information about the core-libs-dev
mailing list