Index: src/org/netbeans/modules/java/JavaDataObject.java =================================================================== RCS file: /cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v retrieving revision 1.174 diff -r1.174 JavaDataObject.java 1242a1243,1265 > //It would be relatively cheap to simply see if there are any registered > //compiler types that specify a different output directory (some package > //private static property on JavaCompilerType which is or'd with > //output dir == null would do it), and if there are no output dirs > //specified (the common case), use the fast check. Perhaps also > //ensure that the current compiler is one that has a value set for this. > if (Boolean.getBoolean("netbeans.java.fastcheck")) { //NOI18N > FileObject fo = getPrimaryFile(); > File f = FileUtil.toFile(fo); > if (f != null) { > File check = new File (Utilities.replaceString(f.getAbsolutePath(), > JavaDataLoader.CLASS_EXTENSION, JavaDataLoader.JAVA_EXTENSION)); //NOI18N > > if (!check.exists()) { > setUpToDate(Boolean.FALSE); > return; > } else { > setUpToDate (check.lastModified() >= f.lastModified() ? > Boolean.TRUE : Boolean.FALSE); > return; > } > } > }