This is the mail archive of the java@gcc.gnu.org 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]

Inner class bugliness.


Test.java:

public class Test {
    class Inner extends Bar {
        public void foo() {
            Foo f = new Foo();
        }
    }
}

Bar.java:

public class Bar {
    public class Foo {}
}

The tragic ending:

mjr::java$ gcj -C Test.java
Test.java: In class `Test$Inner':
Test.java: In method `Test$Inner.foo()':
Test.java:0: Can't find method `access$0(LTest;)' in type `Test'.
   <<file too short - unexpected EOF>>
   ^
1 error
mjr::java$

I'm running a 3.0 build from a few days ago.


-- 
"Is our system--was it invented by scientists?"
"No. If scientists had invented it, they'd have tried it out first on hamsters."
Mark Roberts | mjr@statesmean.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]