This is the mail archive of the java-prs@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcj/264: "bad class index 0" error compiling javac/jikes anonymous class bytecode



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]