public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1168: compiler crashes on attempt to use anonymous class
@ 2000-12-20 12:20 bryce
  0 siblings, 0 replies; only message in thread
From: bryce @ 2000-12-20 12:20 UTC (permalink / raw)
  To: java-gnats

>Number:         1168
>Category:       java
>Synopsis:       compiler crashes on attempt to use anonymous class
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:16:45 PST 2000
>Closed-Date:    Wed Mar 22 23:33:07 PST 2000
>Last-Modified:  Wed Mar 22 23:40:01 PST 2000
>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:
This patch should help.
>Release-Note:
It won't apply cleanly on the patch for 173.
>Audit-Trail:

Formerly PR gcj/178

State-Changed-From-To: open->feedback
State-Changed-By: apbianco
State-Changed-When: Wed Mar 15 20:42:44 2000
State-Changed-Why:
    There is a patch.

From: apbianco@cygnus.com
To: apbianco@cygnus.com, bryce@albatross.co.nz,
  java-gnats@sourceware.cygnus.com
Cc:  
Subject: Re: gcj/178
Date: 16 Mar 2000 04:42:44 -0000

 Synopsis: compiler crashes on attempt to use anonymous class
 
 State-Changed-From-To: open->feedback
 State-Changed-By: apbianco
 State-Changed-When: Wed Mar 15 20:42:44 2000
 State-Changed-Why:
     There is a patch.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=178&database=java
State-Changed-From-To: feedback->closed
State-Changed-By: apbianco
State-Changed-When: Wed Mar 22 23:33:07 2000
State-Changed-Why:
    I checked in a patch to fix the problem:
      http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00790.html

From: apbianco@cygnus.com
To: apbianco@cygnus.com, bryce@albatross.co.nz,
  java-gnats@sourceware.cygnus.com
Cc:  
Subject: Re: gcj/178
Date: 23 Mar 2000 07:33:07 -0000

 Synopsis: compiler crashes on attempt to use anonymous class
 
 State-Changed-From-To: feedback->closed
 State-Changed-By: apbianco
 State-Changed-When: Wed Mar 22 23:33:07 2000
 State-Changed-Why:
     I checked in a patch to fix the problem:
       http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00790.html
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=178&database=java
>Unformatted:



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-20 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:20 java/1168: compiler crashes on attempt to use anonymous class bryce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).