gcj/293

Bryce McKinlay bryce@albatross.co.nz
Fri Oct 20 03:30:00 GMT 2000


The following reply was made to PR gcj/293; it has been noted by GNATS.

From: Bryce McKinlay <bryce@albatross.co.nz>
To: java-gnats@sourceware.cygnus.com, apbianco@cygnus.com
Cc:  
Subject: Re: gcj/293
Date: Fri, 20 Oct 2000 23:23:51 +1300

 > Empty inner class initializer crash
 >
 
 Actually the initializer doesn't have to be empty. Any inner class that
 has both a default constructor and an initializer block will trigger
 this bug. eg:
 
 class InnerInit
 {
   int a = 5;
 
   class Inner
   {
     int b;
 
     {
       b = a;
     }
 
     Inner()
     {
       System.out.println (b);
     }
   }
 }
 
 regards
 
   [ bryce ]
 
 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=293&database=java
 
 
 


More information about the Java-prs mailing list