This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans IDE 3.1 (build 34) java version "1.3.1-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-beta-b15) Java HotSpot(TM) Client VM (build 1.3.1beta-b15, mixed mode) fastjavac: version 4.0, "11/04/00-10:39", build #461 A static inner class cannot extend a non static inner clas! However, fatjavac compiles with no errors and produces a .class file which cannot be loaded and produces the followin error: Exception in thread "main" java.lang.VerifyError: (class: InnerClassBugTest, method: main signature: ([Ljava/lang/String;)V) Expecting to find object/array on stack The external java compiler correctly detects the error. Here is a buggy java file with the error. ------------------------------ public class InnerClassBugTest { public InnerClassBugTest() { } // This inner class should be static public class father { } public static class son extends father { public son() {} } public static void main(String[] args) { new son(); } }
I have thought that Ivan have already reported this to the fastjavac. Ivan, if so, please close this with reference. Thanks.
Has been forwarded to the Sun's fastjavac team.
The current status can be checked on http://developer.java.sun.com/developer/bugParade/bugs/4453704.html
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.
A mistakenly closed RESOLVED LATER/REMIND issue. Reopening.
Fastjavac is not supported anymore and since it is a close source there is no reason to keep this as open issue.
Reorganization of java component