< prev index next >

src/java.base/share/classes/java/lang/invoke/CallSite.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -303,11 +303,12 @@
                              // Caller information:
                              Class<?> callerClass) {
         CallSite site;
         try {
             Object binding = BootstrapMethodInvoker.invoke(
-                    CallSite.class, bootstrapMethod, name, type, info, callerClass);
+                    CallSite.class, bootstrapMethod, name, type, info, callerClass,
+                    true);
             if (binding instanceof CallSite) {
                 site = (CallSite) binding;
             } else {
                 // See the "Linking Exceptions" section for the invokedynamic
                 // instruction in JVMS 6.5.
< prev index next >