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.
Example: package test; public class Test { class Inner { } static class Sub extends Inner { Sub(Test test) { test.super(); } } } On "test.super();" an error "no enclosing instance of type test.Test is in scope" is displayed, although the code is correct and the external compiler (javac 1.6) accepts it. The error only shows up every other time the source is scanned; sometimes you have to make some dummy change and/or save the file for the error to appear. This hints at that the referential circularity isn't properly handled internally.
Regression from NB 6.5.
Already fixed in the current dev build.