mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
7170058: Confusing error message from javac when overriding a method from a raw supertype
Reviewed-by: mcimadamore
This commit is contained in:
parent
a449b10079
commit
b30409ae05
38 changed files with 86 additions and 72 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8003280
|
||||
* @bug 8003280 7170058
|
||||
* @summary Add lambda tests
|
||||
* This test is for identifying a non-SAM type: Having more than one methods due to inheritance, and none of them has a subsignature of all other methods
|
||||
* @compile/fail/ref=NonSAM2.out -XDrawDiagnostics NonSAM2.java Helper.java
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue