Why sun.nio.ch.SelChImpl is not accessable at HotSpot for Java7?

Alan Bateman Alan.Bateman at oracle.com
Sun Jan 3 08:30:36 UTC 2016


On 03/01/2016 08:20, 陈雨亭 wrote:
> Dear all,
>
> I used soot to create the class M1450550406 (see next).
> HotSpot for Java7 says that M1450550406 cannot access
> the superinterface sun.nio.ch.SelChImpl, while HotSpot
> for Java8/9 and J9 for Java8 can access. Could anyone tell
> me the reason? I checked the package and believed
> that  the interface is in the JRE libraries.
>
sun.nio.ch.SelChImpl is a JDK-internal class, it was package-private in 
JDK 7 but was changed to public in JDK 8.

-Alan


More information about the hotspot-runtime-dev mailing list