------- Comment #1 from tromey at gcc dot gnu dot org  2007-12-12 16:28 -------
Here's a complete test case.
The .class file does have the InnerClasses attribute,
we just don't seem to read it properly.

public class p
{
  public interface DBI { }

  public interface Local extends DBI {
    public class Disconnected
    {
      public Disconnected()
      {
      }
    }
  }

  public static void main(String[] args) throws Throwable {
    Class c = Local.Disconnected.class;
    System.out.println(c.getEnclosingClass());
  }
}


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-12 16:28:59
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34444

Reply via email to