* libjava.compile/BlankFinal.java: New file.
From-SVN: r31552
This commit is contained in:
parent
0a06884142
commit
24823dcf49
@ -1,3 +1,7 @@
|
||||
2000-01-20 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* libjava.compile/BlankFinal.java: New file.
|
||||
|
||||
2000-01-19 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* libjava.lang/anon.java, libjava.lang/anon2.java,
|
||||
|
16
libjava/testsuite/libjava.compile/BlankFinal.java
Normal file
16
libjava/testsuite/libjava.compile/BlankFinal.java
Normal file
@ -0,0 +1,16 @@
|
||||
// Test to see if "blank final" variables work.
|
||||
// From Mo DeJong <mdejong@cygnus.com>
|
||||
|
||||
public class BlankFinal {
|
||||
static final boolean cond;
|
||||
|
||||
static {
|
||||
try
|
||||
{
|
||||
cond = true;
|
||||
}
|
||||
catch(Exception e) {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user