diff src/share/vm/ci/ciInstanceKlass.cpp @ 4140:716a2c5c0656

Further reduce diff to HotSpot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 01:01:34 +0100
parents 04b9a2566eec
children 33df1aeaebbf
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstanceKlass.cpp	Sun Dec 18 00:41:15 2011 +0100
+++ b/src/share/vm/ci/ciInstanceKlass.cpp	Sun Dec 18 01:01:34 2011 +0100
@@ -67,14 +67,15 @@
   Thread *thread = Thread::current();
   if (ciObjectFactory::is_initialized()) {
     _loader = JNIHandles::make_local(thread, ik->class_loader());
-    _protection_domain = JNIHandles::make_local(thread, ik->protection_domain());
+    _protection_domain = JNIHandles::make_local(thread,
+                                                ik->protection_domain());
     _is_shared = false;
   } else {
     Handle h_loader(thread, ik->class_loader());
     Handle h_protection_domain(thread, ik->protection_domain());
     _loader = JNIHandles::make_global(h_loader);
     _protection_domain = JNIHandles::make_global(h_protection_domain);
-    _is_shared = !ciObjectFactory::is_initialized();
+    _is_shared = true;
   }
 
   // Lazy fields get filled in only upon request.