This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: gcj bug
- To: Anthony Green <green@cygnus.com>
- Subject: Re: gcj bug
- From: Amancio Hasty <hasty@netcom.com>
- Date: Sun, 13 Jun 1999 11:10:22 -0700
- cc: hasty@netcom.com, java-discuss@sourceware.cygnus.com
Hi ,
I tried a slightly modified version of class and it appears to compile and run
over here. gcj is about 3 or 4 days old over here.
Cheers,
Amancio
class EH
{
public int a;
public EH()
{
try {
a = 1;
} catch(Throwable x) {
}
try {
a = 2;
} catch(Throwable x) {
} finally {
a = 3;
}
}
public static void main (String args[]) {
EH foo = new EH();
for (int i = 1; i < 1000; i++) {
System.out.println("Hello " + i);
}
System.out.println("a = " + foo.a);
}
}
-----
./EH
...
Hello 996
Hello 997
Hello 998
Hello 999
a = 3
--
Amancio Hasty
ahasty@mindspring.com