8029718: Should always use lambda body structure to disambiguate overload resolution

Reviewed-by: dlsmith, jjg, jlahoda
This commit is contained in:
Vicente Romero 2014-04-21 22:51:49 +01:00
parent 04e1109b69
commit a50db59b59
19 changed files with 366 additions and 88 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 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
@ -33,7 +33,6 @@
import java.util.Collections;
import java.util.List;
import java.util.ArrayList;
import java.util.Date;
public class LambdaTest1 {