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 191051
Collapse All | Expand All

(-)a/java.source/src/org/netbeans/modules/java/source/parsing/OutputFileManager.java (-2 / +1 lines)
Lines 44-50 Link Here
44
44
45
package org.netbeans.modules.java.source.parsing;
45
package org.netbeans.modules.java.source.parsing;
46
46
47
import com.sun.istack.internal.NotNull;
48
import java.io.File;
47
import java.io.File;
49
import java.io.IOException;
48
import java.io.IOException;
50
import java.net.URISyntaxException;
49
import java.net.URISyntaxException;
Lines 256-262 Link Here
256
        return sibling == null ? getClassFolderForApt(baseName) : getClassFolderForApt(sibling.toUri().toURL());
255
        return sibling == null ? getClassFolderForApt(baseName) : getClassFolderForApt(sibling.toUri().toURL());
257
    }
256
    }
258
257
259
    private File getClassFolderForApt(final @NotNull URL surl) {
258
    private File getClassFolderForApt(final URL surl) {
260
        for (ClassPath.Entry entry : apt.entries()) {
259
        for (ClassPath.Entry entry : apt.entries()) {
261
            if (FileObjects.isParentOf(entry.getURL(), surl)) {
260
            if (FileObjects.isParentOf(entry.getURL(), surl)) {
262
                final URL classFolder = AptCacheForSourceQuery.getClassFolder(entry.getURL());
261
                final URL classFolder = AptCacheForSourceQuery.getClassFolder(entry.getURL());

Return to bug 191051