--- old/src/java.base/share/classes/jdk/internal/reflect/Reflection.java 2017-12-20 22:38:25.363616012 +0000 +++ new/src/java.base/share/classes/jdk/internal/reflect/Reflection.java 2017-12-20 22:38:25.163620362 +0000 @@ -64,14 +64,6 @@ @HotSpotIntrinsicCandidate public static native Class getCallerClass(); - /** - * @deprecated This method will be removed. - * This method is a private JDK API and retained temporarily to - * simplify the implementation of sun.misc.Reflection.getCallerClass. - */ - @Deprecated(forRemoval=true) - public static native Class getCallerClass(int depth); - /** Retrieves the access flags written to the class file. For inner classes these flags may differ from those returned by Class.getModifiers(), which searches the InnerClasses