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.
Created attachment 121784 [details] stacks When parsing kf3.h file of the ctx project, we've got an infinite loop. The reason is that getScope() for struct kfrbcd returns reference to self.
More information available by request (alas, sources we experience this aren't open)
*** Bug 215229 has been marked as a duplicate of this bug. ***
It's not in 7.2, right?
I think it's not 7.2. It was found in trunk and might be caused by recent (post 7.2) changes
// then check class or super class if (scope instanceof CsmScopeElement) { scope = ((CsmScopeElement)scope).getScope(); } else { break; } scope is the same as getScope
fixed: http://hg.netbeans.org/cnd-main/rev/d68f86aa35d4
http://hg.netbeans.org/cnd-main/rev/0a6822a43bda caused fails org.netbeans.modules.cnd.highlight.error.UnresolvedIdentifierTest.testBug215225_2 org.netbeans.modules.cnd.modelimpl.impl.services.SelectModelTestCase.testSelectModelGetFunctions
Actually this one: http://hg.netbeans.org/cnd-main/rev/21446389c785 Because ClassImpl does not have correct equals.
fixed: http://hg.netbeans.org/cnd-main/rev/0abd0c60904a
(In reply to comment #8) > Actually this one: > http://hg.netbeans.org/cnd-main/rev/21446389c785 > > Because ClassImpl does not have correct equals. so why the fix is http://hg.netbeans.org/cnd-main/rev/0abd0c60904a ? I reverted it.
fix equals and other clean ups http://hg.netbeans.org/cnd-main/rev/3acd30e66d7b
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3acd30e66d7b User: Vladimir Voskresensky <vv159170@netbeans.org> Log: clean up for #215225 - Infinite loop in TemplateUtils.checkTemplateType