test/tools/javac/T6230128.java

Thu, 21 Feb 2013 14:43:51 -0800

author
rfield
date
Thu, 21 Feb 2013 14:43:51 -0800
changeset 1601
cd7340a84bb8
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8008405: Now that metafactory is in place, add javac lambda serialization tests
Summary: Tests part of original langtools serialization review.
Reviewed-by: mcimadamore

     1 /*
     2  * @test  /nodynamiccopyright/
     3  * @bug 6230128
     4  * @compile/fail/ref=T6230128.out -XDrawDiagnostics T6230128.java
     5  */
     6 class A1 {
     7     public void foo(Object[] args) { }
     8 }
    10 class A1a extends A1 {
    11     void foo(Object... args) { }
    12 }

mercurial