[8u60] Request Review: 8068548 jdeps needs a different mechanism to recognize javax.jnlp as supported API

Mandy Chung mandy.chung at oracle.com
Wed Jan 7 17:53:23 UTC 2015


On 1/7/2015 12:16 AM, Alan Bateman wrote:
> On 06/01/2015 22:05, Mandy Chung wrote:
>> Webrev at :
>> http://cr.openjdk.java.net/~mchung/jdk8u/webrevs/8068548/webrev.00/
>>
>> JBS:  https://bugs.openjdk.java.net/browse/JDK-8068548
>>
>> This is 1-line fix.  The 8u40 fix for JDK-8039007 breaks TCK 
>> signature test
>> and @jdk.Exported should only be used by JDK-specific API. jdeps 
>> simply hardcodes it.
> This looks okay to me. Having it check for javax.** might be an option 
> too (on the assumption that there won't be module-private javax.* 
> packages).

I thought about that.  jdeps -jdkinternals currently flags APIs as 
internal if they are not supported by JDK and there isn't any javax.* 
other than javax.jnlp.  For JDK 9, the exported APIs will be determined 
properly from modules.   Therefore I just check for javax.jnlp instead 
of javax.*.

Mandy



More information about the jdk8u-dev mailing list