--- old/src/java.base/share/classes/java/lang/invoke/LambdaForm.java 2014-10-30 16:11:45.000000000 -0400 +++ new/src/java.base/share/classes/java/lang/invoke/LambdaForm.java 2014-10-30 16:11:45.000000000 -0400 @@ -1,5 +1,5 @@ /* - * 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 @@ -1034,10 +1034,10 @@ // 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;