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

(-)java/api/src/org/netbeans/api/java/classpath/ClassPath.java (-2 / +2 lines)
Lines 186-194 Link Here
186
        int onl = ownerName.length();
186
        int onl = ownerName.length();
187
        String partName;
187
        String partName;
188
        if (includeExt)
188
        if (includeExt)
189
            partName = f.getPackageNameExt('/', '.');
189
            partName = f.getPackageNameExt(dirSep, '.');
190
        else
190
        else
191
            partName = f.getPackageName('/');
191
            partName = f.getPackageName(dirSep);
192
        return onl == 0 ? partName : partName.substring(onl + 1);
192
        return onl == 0 ? partName : partName.substring(onl + 1);
193
    }
193
    }
194
    
194
    

Return to bug 26932