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.
070718. Open contrib/naming. You will see DOEnum.java marked with various errors where it refers to org.openide.util.enum.* classes. The project customizer correctly reports its source level as 1.4. JavaScript introspection of the NB process confirms that apisupport is doing nothing wrong: f=org.openide.filesystems.FileUtil.toFileObject(new java.io.File("/space/src/nb_all/contrib/naming/src/org/netbeans/core/naming/DOEnum.java")) MasterFileObject@9565ce[space/src/nb_all/contrib/naming/src/org/netbeans/core/naming/DOEnum.java] org.netbeans.api.java.queries.SourceLevelQuery.getSourceLevel(f) 1.4 And of course the file compiles OK.
The problem is that the RepositoryUpdater will not compile/index openide/util/enum (package org.openide.util.enum), as the package name contains "enum" and RU:1924 (rev. 1.67) checks for org.openide.util.Utilities.isJavaIdentifier, which is false for "enum".
Checking in org/netbeans/modules/java/source/usages/RepositoryUpdater.java; /cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v <-- RepositoryUpdater.java new revision: 1.68; previous revision: 1.67 done
*** Issue 102365 has been marked as a duplicate of this issue. ***