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

陈雨亭 chenyt at cs.sjtu.edu.cn
Sun Jan 3 08:43:31 UTC 2016


Thank you, Alan. I went through the source and got it.

Yuting

-----Original Message----- 
From: Alan Bateman
Sent: Sunday, January 03, 2016 4:30 PM
To: 陈雨亭 ; hotspot-runtime-dev at openjdk.java.net
Subject: Re: Why sun.nio.ch.SelChImpl is not accessable at HotSpot for 
Java7?

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