This is the mail archive of the java-prs@sources.redhat.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/294: JC1 segfaults on qualified "this" expression



>Number:         294
>Category:       gcj
>Synopsis:       JC1 segfaults on qualified "this" expression
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 24 22:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.96 20000722 (experimental)
>Organization:
>Environment:
any
>Description:
Using a qualified this expression (ie EnclosingClass.this)
from an inner class results in a crash. This seems to be
a recent regression.
>How-To-Repeat:
Try to compile this test:

public class QualifiedThis
{
  class A
  {
    A()
    {
      QualifiedThis encl = QualifiedThis.this;    
    }
  }
}
>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]