7170058: Confusing error message from javac when overriding a method from a raw supertype

Reviewed-by: mcimadamore
This commit is contained in:
Vicente Romero 2017-06-01 12:51:26 -07:00
parent a449b10079
commit b30409ae05
38 changed files with 86 additions and 72 deletions

View file

@ -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