jdk/src/share/classes/sun/reflect/Reflection.java
changeset 21284 e6dfe841a88f
parent 20872 8e486b70dff8
--- a/jdk/src/share/classes/sun/reflect/Reflection.java	Fri Oct 18 08:57:52 2013 +0800
+++ b/jdk/src/share/classes/sun/reflect/Reflection.java	Thu Oct 17 19:47:47 2013 -0700
@@ -57,6 +57,14 @@
     @CallerSensitive
     public static native Class<?> getCallerClass();
 
+    /**
+     * @deprecated This method will be removed in JDK 9.
+     * This method is a private JDK API and retained temporarily for
+     * existing code to run until a replacement API is defined.
+     */
+    @Deprecated
+    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