< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2014, 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

@@ -1032,14 +1032,14 @@
         // The next 3 constructors are used to break circular dependencies on MH.invokeStatic, etc.
         // Any LambdaForm containing such a member is not interpretable.
         // This is OK, since all such LFs are prepared with special primitive vmentry points.
         // And even without the resolvedHandle, the name can still be compiled and optimized.
         NamedFunction(Method method) {
-            this(new MemberName(method));
+            this(MemberName.make(method));
         }
         NamedFunction(Field field) {
-            this(new MemberName(field));
+            this(MemberName.make(field));
         }
         NamedFunction(MemberName member) {
             this.member = member;
             this.resolvedHandle = null;
         }
< prev index next >