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.
I have created test, which checks tokens for their identity. Consider token t: Token f = t.getASTContext().getToken(t.getFirstToken()); Token l = t.getASTContext().getToken(t.getLastToken()); Test checks, that t == f and t == l and fails. For details, run javacore unit tests and see log file for org.netbeans.modules.javacore.parsing.TokenIdentityTest test.
Tom, isn't this fixed already? (Test works correctly.)
Fixed token cloning for identifiers that are not PRIMARY_THIS or PRIMARY_CLASS.
Works correctly.
Reorganization of java component