Hi,

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…

Cheers.

Reply via email to