--- old/src/share/vm/utilities/exceptions.hpp Fri Sep 9 14:16:27 2011 +++ new/src/share/vm/utilities/exceptions.hpp Fri Sep 9 14:16:27 2011 @@ -58,6 +58,8 @@ // include hierachy reasons). class ThreadShadow: public CHeapObj { + friend class VMStructs; + protected: oop _pending_exception; // Thread has gc actions. const char* _exception_file; // file information for exception (debugging only)