langtools/test/tools/javac/lambda/funcInterfaces/NonSAM2.java
changeset 45413 75202c6b2c35
parent 18380 2abcb1c3a593
equal deleted inserted replaced
45321:b0f2b8ff25a2 45413:75202c6b2c35
     1 /*
     1 /*
     2  * @test /nodynamiccopyright/
     2  * @test /nodynamiccopyright/
     3  * @bug 8003280
     3  * @bug 8003280 7170058
     4  * @summary Add lambda tests
     4  * @summary Add lambda tests
     5  *   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
     5  *   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
     6  * @compile/fail/ref=NonSAM2.out -XDrawDiagnostics NonSAM2.java Helper.java
     6  * @compile/fail/ref=NonSAM2.out -XDrawDiagnostics NonSAM2.java Helper.java
     7  */
     7  */
     8 
     8