Wed, 24 Sep 2014 11:38:26 -0700
Added tag jdk8u40-b07 for changeset 2fa3858a281f
mcimadamore@1605 | 1 | /* |
sogoel@2255 | 2 | * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
mcimadamore@1605 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
mcimadamore@1605 | 4 | * |
mcimadamore@1605 | 5 | * This code is free software; you can redistribute it and/or modify it |
mcimadamore@1605 | 6 | * under the terms of the GNU General Public License version 2 only, as |
mcimadamore@1605 | 7 | * published by the Free Software Foundation. |
mcimadamore@1605 | 8 | * |
mcimadamore@1605 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
mcimadamore@1605 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
mcimadamore@1605 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
mcimadamore@1605 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
mcimadamore@1605 | 13 | * accompanied this code). |
mcimadamore@1605 | 14 | * |
mcimadamore@1605 | 15 | * You should have received a copy of the GNU General Public License version |
mcimadamore@1605 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
mcimadamore@1605 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
mcimadamore@1605 | 18 | * |
mcimadamore@1605 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
mcimadamore@1605 | 20 | * or visit www.oracle.com if you need additional information or have any |
mcimadamore@1605 | 21 | * questions. |
mcimadamore@1605 | 22 | */ |
mcimadamore@1605 | 23 | |
mcimadamore@1605 | 24 | /* |
mcimadamore@1605 | 25 | * @test |
sogoel@2255 | 26 | * @bug 8008708 |
mcimadamore@1605 | 27 | * @compile Foo.java |
mcimadamore@1605 | 28 | * @compile Test.java |
mcimadamore@1605 | 29 | */ |
mcimadamore@1605 | 30 | class Test { |
mcimadamore@1605 | 31 | void test(FooLib fl) { |
mcimadamore@1605 | 32 | fl.m1(x->{}); |
mcimadamore@1605 | 33 | fl.m2(x->{}); |
mcimadamore@1605 | 34 | } |
mcimadamore@1605 | 35 | } |