Thu, 03 Feb 2011 09:36:28 +0000
5017953: spurious cascaded diagnostics when name not found
Summary: when an operator is applied to one or more erroneous operands, spurious diagnostics are generated
Reviewed-by: jjg
duke@1 | 1 | /* |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 4093617 |
duke@1 | 4 | * @summary Object has no superclass |
duke@1 | 5 | * @author Peter von der Ah\u00e9 |
jjg@611 | 6 | * @compile/fail/ref=T4093617.out -XDrawDiagnostics T4093617.java |
duke@1 | 7 | */ |
duke@1 | 8 | |
duke@1 | 9 | package java.lang; |
duke@1 | 10 | |
duke@1 | 11 | class Object { |
duke@1 | 12 | Object() { super(); } |
duke@1 | 13 | } |