Mon, 08 Apr 2013 15:53:08 +0100
8010404: Lambda debugging: redundant LineNumberTable entry for lambda capture
Summary: Ignore indy entries in LineNumberTable
Reviewed-by: jjg
duke@1 | 1 | /* |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 5048776 |
jjg@611 | 4 | * @compile/ref=T5048776a.out -XDrawDiagnostics T5048776.java |
jjg@611 | 5 | * @compile/ref=T5048776b.out -XDrawDiagnostics -Xlint:all,-path T5048776.java |
duke@1 | 6 | */ |
duke@1 | 7 | class A1 { |
duke@1 | 8 | void foo(Object[] args) { } |
duke@1 | 9 | } |
duke@1 | 10 | |
duke@1 | 11 | class A1a extends A1 { |
duke@1 | 12 | void foo(Object... args) { } |
duke@1 | 13 | } |
duke@1 | 14 | |
duke@1 | 15 | class A2 { |
duke@1 | 16 | void foo(Object... args) { } |
duke@1 | 17 | } |
duke@1 | 18 | |
duke@1 | 19 | class A2a extends A2 { |
duke@1 | 20 | void foo(Object[] args) { } |
duke@1 | 21 | } |