This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Class file generated by "gcj -C" throws ClassFormatError
- To: java at gcc dot gnu dot org
- Subject: Class file generated by "gcj -C" throws ClassFormatError
- From: Weiqi Gao <weiqigao at yahoo dot com>
- Date: Thu, 21 Jun 2001 14:18:29 -0700 (PDT)
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/