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.

View | Details | Raw Unified | Return to bug 76702
Collapse All | Expand All

(-)src/org/netbeans/api/java/source/JavaSource.java (+1 lines)
Lines 666-671 Link Here
666
    private static JavacTaskImpl createJavacTask(final ClasspathInfo cpInfo, final DiagnosticListener<? super JavaFileObject> diagnosticListener, final String sourceLevel, final boolean backgroundCompilation) {
666
    private static JavacTaskImpl createJavacTask(final ClasspathInfo cpInfo, final DiagnosticListener<? super JavaFileObject> diagnosticListener, final String sourceLevel, final boolean backgroundCompilation) {
667
        ArrayList<String> options = new ArrayList<String>();
667
        ArrayList<String> options = new ArrayList<String>();
668
        if (!backgroundCompilation) {
668
        if (!backgroundCompilation) {
669
            options.add("-Xlint");
669
            options.add("-Xjcov"); //NOI18N, Make the compiler store end positions
670
            options.add("-Xjcov"); //NOI18N, Make the compiler store end positions
670
        } else {
671
        } else {
671
            options.add("-XDbackgroundCompilation");    //NOI18N
672
            options.add("-XDbackgroundCompilation");    //NOI18N

Return to bug 76702