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.
Mobility integrates commenting preprocessor into Java editor. Each Java file has to be stored in canonical form because of the versioning systems. So the preprocessing is not only perfomed during project build, but also during document load from file, and during document save to file. Result of this process is that document content may differ from file content even the document is unmodified. After some performance improvements in javacore there are ignored unmodified documents and content for parsing is taken from files (this is a different behavior then in 4.1). This results in wrong error annotation and refactoring behavior in Mobility projects.
Martin promised he will fix this. ;-)
Fixed. Use JMManager.ModifiedDOProvider.setModifiedDOProvider() and JavaMetamodel.getManager().addModified(). Checking in src/org/netbeans/modules/javacore/JMManager.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v <-- JMManager.java new revision: 1.120; previous revision: 1.119 done Checking in src/org/netbeans/modules/javacore/parser/Util.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/parser/Util.java,v <-- Util.java new revision: 1.6; previous revision: 1.5 done
This has become obsolete with interduction of Retouche. --- NetBeans IDE Dev (Build 070214) 1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8
Reorganization of java component