mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
Initial load
This commit is contained in:
parent
686d76f772
commit
f57b87e8f6
2973 changed files with 295817 additions and 0 deletions
11
langtools/test/tools/javac/ExtendArray.java
Normal file
11
langtools/test/tools/javac/ExtendArray.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 4336282 4785453
|
||||
* @summary Verify that extending an erray class does not crash the compiler.
|
||||
*
|
||||
* @compile/fail/ref=ExtendArray.out -XDstdout -XDdiags=%b:%l:%_%m ExtendArray.java
|
||||
*/
|
||||
|
||||
// Note that an error is expected, but not a crash.
|
||||
|
||||
public class ExtendArray extends Object[] {}
|
Loading…
Add table
Add a link
Reference in a new issue