1.1 --- a/src/share/vm/prims/jvm.h Wed Oct 16 10:52:41 2013 +0200 1.2 +++ b/src/share/vm/prims/jvm.h Tue Nov 05 17:38:04 2013 -0800 1.3 @@ -377,6 +377,9 @@ 1.4 /* 1.5 * java.lang.Class and java.lang.ClassLoader 1.6 */ 1.7 + 1.8 +#define JVM_CALLER_DEPTH -1 1.9 + 1.10 /* 1.11 * Returns the class in which the code invoking the native method 1.12 * belongs.