Wed, 12 Feb 2014 11:16:22 -0800
Added tag jdk8u11-b00 for changeset c9db8c800797
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * @test /nodynamiccopyright/ |
aoqi@0 | 3 | * @bug 6970584 7060926 |
aoqi@0 | 4 | * @summary Attr.PostAttrAnalyzer misses a case |
aoqi@0 | 5 | * |
aoqi@0 | 6 | * @compile/fail/ref=FailOver15.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver15.java |
aoqi@0 | 7 | */ |
aoqi@0 | 8 | |
aoqi@0 | 9 | class Test { |
aoqi@0 | 10 | void m() { |
aoqi@0 | 11 | new UnknownClass<String, Void>() { |
aoqi@0 | 12 | public String getString() { |
aoqi@0 | 13 | String s = ""; |
aoqi@0 | 14 | s += "more"; |
aoqi@0 | 15 | return s; |
aoqi@0 | 16 | } |
aoqi@0 | 17 | } |
aoqi@0 | 18 | } |
aoqi@0 | 19 | } |