diff -r feba5d4126b8 -r 82c7497fbad4 hotspot/src/share/vm/prims/jvm.h --- a/hotspot/src/share/vm/prims/jvm.h Wed Oct 16 10:52:41 2013 +0200 +++ b/hotspot/src/share/vm/prims/jvm.h Tue Nov 05 17:38:04 2013 -0800 @@ -377,6 +377,9 @@ /* * java.lang.Class and java.lang.ClassLoader */ + +#define JVM_CALLER_DEPTH -1 + /* * Returns the class in which the code invoking the native method * belongs.