Mon, 07 Jan 2013 17:51:05 +0000
8005647: langtools/test/tools/javap/MethodParameters.java fails on windows
Summary: Fix javap to not output \r\r\n
Reviewed-by: jjg
1 /*
2 * @test /nodynamiccopyright/
3 * @summary flow analysis is not run on inlined default bodies
4 * @compile/fail/ref=Neg06.out -XDrawDiagnostics Neg06.java
5 */
7 class Neg06 {
9 interface A {
10 default String m() { C.m(); }
11 }
13 static class C {
14 static String m() { return ""; }
15 }
16 }