1.1 --- a/test/tools/javac/lambda/TargetType01.java Fri Apr 18 23:58:05 2014 +0100 1.2 +++ b/test/tools/javac/lambda/TargetType01.java Tue Apr 22 17:55:22 2014 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -42,6 +42,10 @@ 1.11 static String M(F_S_S f){ return null; } 1.12 1.13 static { 1.14 - M(x1 -> { return M( x2 -> { return x1 + x2; });}); //ambiguous 1.15 + M(x1 -> { 1.16 + return M( x2 -> { 1.17 + return x1 + x2; 1.18 + }); 1.19 + }); //ambiguous 1.20 } 1.21 }