equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 * @test |
25 * @test |
26 * @bug 8003280 |
26 * @bug 8003280 |
27 * @summary Add lambda tests |
27 * @summary Add lambda tests |
28 * This test is for identifying SAM types #5 and instantiating non-SAM types #7 through inner class, |
28 * This test is for identifying SAM types #5 and instantiating non-SAM types #7 through inner class, |
29 see Helper.java for SAM types |
29 see Helper.java for SAM types |
|
30 * @modules java.sql |
30 * @compile LambdaTest2_SAM3.java Helper.java |
31 * @compile LambdaTest2_SAM3.java Helper.java |
31 * @run main LambdaTest2_SAM3 |
32 * @run main LambdaTest2_SAM3 |
32 */ |
33 */ |
33 |
34 |
34 import java.util.Collection; |
35 import java.util.Collection; |