RFR  8137056: Move SharedSecrets and interface friends out of sun.misc
chris.hegarty at oracle.com
Thu Sep 24 14:56:37 UTC 2015
On 24 Sep 2015, at 15:37, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 24/09/2015 15:16, Chris Hegarty wrote:
>> In preparation for JEP 260 "Encapsulate Most Internal APIs” ,
>> SharedSecrets and friend interfaces should be moved out of
>> 'sun.misc’  and located in a truly private package. This is so that
>> they are not part of the proposed to be exported ‘sun.misc'
> This looks okay to me, just a minor nit in PresentationManager where you've introduced a raw type. If we can drop the building of the interim CORBA then this code could be cleaned up to not use core reflection.
Ah ha, good catch. Fixed and webrev updated in-place.
Offline, Paul queried whether the modules now using jdk.internal.misc
still require access to sun.misc. They do, all but one java.sql. I updated
the modules.xml to reflect this.
Worth noting, is that this change includes a workaround for 8137017:
Remove JDK internal API dependency from jrt-fs.jar , in
More information about the core-libs-dev