|
Java example source code file (T7086595.java)
The T7086595.java Java example source code
/*
* @test /nodynamiccopyright/
* @bug 7086595
* @summary Error message bug: name of initializer is 'null'
* @compile/fail/ref=T7086595.out -XDrawDiagnostics T7086595.java
*/
class T7086595 {
String s = "x";
String s = nonExistent;
int foo() {
String s = "x";
String s = nonExistent;
}
static int bar() {
String s = "x";
String s = nonExistent;
}
{
String s = "x";
String s = nonExistent;
}
static {
String s = "x";
String s = nonExistent;
}
}
Other Java examples (source code examples)Here is a short list of links related to this Java T7086595.java source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.