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.
The following source file causes an AssertionError in the internal compiler: public class Test { static class Outer { Outer(Inner inner) { } interface Inner { void f(); } } static class Foo extends Outer { Foo() { super(new Inner() { public void f() { Foo.this.notify(); } }); } } } See http://statistics.netbeans.org/analytics/exception.do?id=202209 for the stacktrace. Happens reproducably in NB 6.7 Beta. Regression from NB 6.5, which doesn't cause an AssertionError with this example.
*** Issue 164999 has been marked as a duplicate of this issue. ***
*** Issue 165000 has been marked as a duplicate of this issue. ***
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/60bcfc0fcfcc http://hg.netbeans.org/main/nb-javac/rev/ca0bd7423cf9
Integrated into 'main-golden', will be available in build *200905140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/60bcfc0fcfcc User: Dusan Balek <dbalek@netbeans.org> Log: Issue #165001: AssertionError in internal compiler upon illegal indirect reference to 'this' - fixed.
Verified in 6.7.