Class file generated by "gcj -C" throws ClassFormatError
Weiqi Gao
weiqigao@yahoo.com
Thu Jun 21 14:18:00 GMT 2001
On Sparc/Solaris 2.6, 'gcj -C foo.java' generates a
foo.class file that throws ClassFormatError when run
with 'java foo':
// foo.java
class foo {
static long x;
public static void main(String[] args) {
new foo();
}
}
=====
Weiqi Gao
weiqigao@yahoo.com
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
More information about the Java
mailing list