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.
java.source/src/org/netbeans/modules/java/source/parsing/OutputFileManager.java uses both the org.netbeans.api.annotations.common.NonNull and the com.sun.istack.internal.NotNull annotation. The 2nd one is just used in a single place: private File getClassFolderForApt(final @NotNull URL surl). This looks to me like a typo and automatic import it should probably be removed. I've only noticed this when I tried to compile it on some machine and it failed due to that import. Didn't investigate this further but I do believe that the com.sun annotation isn't that important and may be safely ignored.
Created attachment 102433 [details] Patch which removes the import
Created attachment 102434 [details] Patch which removes the import
Thanks for the report. I have changed the @NotNull to @NonNull, which is likely the original intent: http://hg.netbeans.org/jet-main/rev/966fe41076ba
Integrated into 'main-golden', will be available in build *201010190000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/966fe41076ba User: Jan Lahoda <jlahoda@netbeans.org> Log: #191051: removing import com.sun.istack.internal.NotNull.