RFR [9] 8153737: Unsupported Module

Chris Hegarty chris.hegarty at oracle.com
Fri Apr 8 15:22:56 UTC 2016


On 07/04/16 19:57, Alan Bateman wrote:
> On 07/04/2016 18:14, Chris Hegarty wrote:
>> Enough technical debt has been paid down that we can now create the new
>> JDK-specific module as proposed by JEP 260 [1], named jdk.unsupported.
>> This module will initially contain, and export, the sun.misc package,
>> and will eventually export the sun.reflect package too ( once it has
>> been sanitized ). The jdk.unsupported module will be present in full JRE
>> and JDK images.
>>
>> http://cr.openjdk.java.net/~chegar/8153737/
> It's great to get to this milestone.
>
> I looked over the webrev and I don't see any issues.

Thanks for the Review.

> I'm surprised by
> the number of tests that had @modules java.base/sun.misc even though
> they aren't using anything in sun.misc.

It was surprising to me too.

> I see Phil has pushed JDK-8147544 to jdk9/client rather than jdk9/dev so
> it means that the module-info.java for java.desktop will need to be
> fixed up when it gets to jdk9/dev.

Right. I have my eye on that, and will fix it once in jdk9/dev.

> I think we should bump the priority of all the issues that cause you to
> add `requires jdk.unsupported`we should at least get all of them
> resolved by FC as we shouldn't have any standard modules with this
> dependence.

I bumped the priority, and targeted the issues to 9.

-Chris.


More information about the serviceability-dev mailing list