This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/264: "bad class index 0" error compiling javac/jikes anonymous class bytecode
- To: java-gnats at sourceware dot cygnus dot com
- Subject: gcj/264: "bad class index 0" error compiling javac/jikes anonymous class bytecode
- From: bryce at albatross dot co dot nz
- Date: 20 Jun 2000 12:23:08 -0000
- Reply-To: bryce at albatross dot co dot nz
- Resent-Cc: java-prs at sourceware dot cygnus dot com, green at cygnus dot com
- Resent-Reply-To: java-gnats@sourceware.cygnus.com, bryce@albatross.co.nz
>Number: 264
>Category: gcj
>Synopsis: "bad class index 0" error compiling javac/jikes anonymous class bytecode
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 20 05:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Bryce McKinlay
>Release: gcc version 2.96 20000608 (experimental)
>Organization:
>Environment:
linux
>Description:
The bytecode for the following test case, as produced
by jikes or javac, fails to compile in gcj:
$ gcj -c PR264*.class
PR264.java:0: bad class index 0
PR264.java: In class `PR264':
PR264.java: In method `main(java.lang.String[])':
PR264.java:0: bad class index 0
>How-To-Repeat:
public class PR264
{
public static void main(String[] args)
{
Object obj = new Object() {};
}
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: