2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 4336282 4785453
|
|
|
|
* @summary Verify that extending an erray class does not crash the compiler.
|
|
|
|
*
|
2010-07-26 21:18:45 +00:00
|
|
|
* @compile/fail/ref=ExtendArray.out -XDrawDiagnostics ExtendArray.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
// Note that an error is expected, but not a crash.
|
|
|
|
|
|
|
|
public class ExtendArray extends Object[] {}
|