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/178: compiler crashes on attempt to use anonymous class



>Number:         178
>Category:       gcj
>Synopsis:       compiler crashes on attempt to use anonymous class
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 15 17:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.96 20000315 (experimental) w/ PR 172/174/176 patch
>Organization:
>Environment:
linux x86
>Description:
gcj gets a sig11 ice on presumably any attempt to define
an anonymous class.

public abstract class Anon
{
  public abstract void foo();
  
  public static void main(String[] args)
  {
    Anon a;
    a = new Anon() 
      {
	public void foo()
	{
	  System.out.println("foo");
	}        
      };
      
    a.foo();
  }
}
>How-To-Repeat:
Try to compile the test case.
>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]