equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 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. |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8023835 |
26 * @bug 8023835 |
27 * @summary Verify that implicit type of lambda parameter is correctly attributed |
27 * @summary Verify that implicit type of lambda parameter is correctly attributed |
28 * in Scope |
28 * in Scope |
|
29 * @modules jdk.compiler/com.sun.tools.javac.api |
|
30 * jdk.compiler/com.sun.tools.javac.model |
|
31 * jdk.compiler/com.sun.tools.javac.util |
29 * @run main ScopeTest |
32 * @run main ScopeTest |
30 */ |
33 */ |
31 |
34 |
32 import com.sun.source.tree.CompilationUnitTree; |
35 import com.sun.source.tree.CompilationUnitTree; |
33 import com.sun.source.tree.MemberSelectTree; |
36 import com.sun.source.tree.MemberSelectTree; |