This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Inner class bugliness.
- To: java at gcc dot gnu dot org
- Subject: Inner class bugliness.
- From: "Mark J. Roberts" <mjr at statesmean dot com>
- Date: Wed, 13 Jun 2001 04:20:34 -0400
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