Question about jdk.internal.HotSpotIntrinsicCandidate

Stephane Epardaud stef at
Tue Dec 1 15:47:34 UTC 2015


I'm using reflection to walk classes and methods, and walking
java.lang.Object.hashCode() I get an annotation of type
jdk.internal.HotSpotIntrinsicCandidate, which does not appear to be
exported by java.base (it exports jdk but not jdk.internal). Is that
intentional? I would have thought that since the annotation is on an
exported type, javac would not allow it to be annotated with
non-exported annotations…


More information about the jigsaw-dev mailing list