mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
This commit is contained in:
parent
270fe13182
commit
3789983e89
56923 changed files with 3 additions and 15727 deletions
15
test/langtools/tools/javac/lambda/speculative/Main.java
Normal file
15
test/langtools/tools/javac/lambda/speculative/Main.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8003280
|
||||
* @summary Add lambda tests
|
||||
* On-demand symbol completion during speculative attribution round fails to report error messages
|
||||
* @compile/fail/ref=Main.out -XDrawDiagnostics Main.java
|
||||
*/
|
||||
class Main {
|
||||
void test() {
|
||||
m(new A(new Object()));
|
||||
m(new A(null));
|
||||
}
|
||||
|
||||
void m(Object o) {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue