--- old/src/java.base/share/classes/sun/reflect/Reflection.java 2015-07-02 17:26:54.958759806 +0200 +++ new/src/java.base/share/classes/sun/reflect/Reflection.java 2015-07-02 17:26:54.558759788 +0200 @@ -28,6 +28,7 @@ import java.lang.reflect.*; import java.util.HashMap; import java.util.Map; +import jdk.internal.HotSpotIntrinsicCandidate; /** Common utility routines used by both java.lang and java.lang.reflect */ @@ -56,6 +57,7 @@ ignoring frames associated with java.lang.reflect.Method.invoke() and its implementation. */ @CallerSensitive + @HotSpotIntrinsicCandidate public static native Class getCallerClass(); /** @@ -74,6 +76,7 @@ to compatibility reasons; see 4471811. Only the values of the low 13 bits (i.e., a mask of 0x1FFF) are guaranteed to be valid. */ + @HotSpotIntrinsicCandidate public static native int getClassAccessFlags(Class c); /** A quick "fast-path" check to try to avoid getCallerClass()