hotspot/src/share/vm/runtime/thread.cpp
changeset 4564 55dfb20908d0
parent 4030 4c471254865e
child 4571 80b553bddc26
--- a/hotspot/src/share/vm/runtime/thread.cpp	Mon Jan 04 07:04:46 2010 -0800
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Mon Jan 04 18:38:08 2010 +0100
@@ -3055,6 +3055,12 @@
       warning("java.lang.ArithmeticException has not been initialized");
       warning("java.lang.StackOverflowError has not been initialized");
     }
+
+    if (EnableInvokeDynamic) {
+      // JSR 292: An intialized java.dyn.InvokeDynamic is required in
+      // the compiler.
+      initialize_class(vmSymbolHandles::java_dyn_InvokeDynamic(), CHECK_0);
+    }
   }
 
   // See        : bugid 4211085.