<AWT Dev> [9] Review request for 8154539 Examine the desktop module's use of sun.misc.SoftCache

Phil Race philip.race at oracle.com
Wed May 11 21:45:16 UTC 2016

+1 assuming this is really the only use ..

You are updating the module-info and although there is one other class 
in there used
by java.desktop that is OK I believe since it is only used from JNI.
Also I will be sending out a webrev for that one soon.

We should some day revisit whether this functionality can be achieved 
without this class
but it did not look like there was a direct replacement anywhere.


On 5/11/2016 1:07 PM, Alexander Scherbatiy wrote:
> Hello,
> Could you review the fix:
>   bug: https://bugs.openjdk.java.net/browse/JDK-8154539
>   webrev: http://cr.openjdk.java.net/~alexsch/8154539/webrev.00
>   This is a request from the jigsaw team to get rid of the dependency 
> to jdk.unsupported module from the java.desktop module.
>   The fix moves the sun.misc.SoftCache class to the sun.awt package in 
> the java.desktop module.
>   The way of SoftCache replacement is covered by the issue JDK-8022449 
> Can we get rid of sun.misc.SoftCache?
>   Thanks,
>   Alexandr.

More information about the awt-dev mailing list