Thu, 21 Feb 2013 14:43:51 -0800
8008405: Now that metafactory is in place, add javac lambda serialization tests
Summary: Tests part of original langtools serialization review.
Reviewed-by: mcimadamore
duke@1 | 1 | /* |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 5086088 |
duke@1 | 4 | * @summary check warnings generated when overriding deprecated methods |
duke@1 | 5 | * |
jjg@611 | 6 | * @compile/ref=Test3.out -XDrawDiagnostics -Xlint:deprecation Test3.java |
duke@1 | 7 | */ |
duke@1 | 8 | |
duke@1 | 9 | interface LibInterface { |
duke@1 | 10 | @Deprecated |
duke@1 | 11 | void m(); |
duke@1 | 12 | } |
duke@1 | 13 | |
duke@1 | 14 | class LibClass { |
duke@1 | 15 | public void m() { } |
duke@1 | 16 | } |
duke@1 | 17 | |
duke@1 | 18 | class Test3 extends LibClass implements LibInterface { |
duke@1 | 19 | } |