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.
File retVal = (File) fo.getAttribute("java.io.File"); // NOI18N;
if (retVal == null) {
try {
if (fo.getFileSystem() instanceof JarFileSystem) return null;
} catch (FileStateInvalidException ex) {
return null;
}
URL fileURL = URLMapper.findURL(fo, URLMapper.INTERNAL);
if (fileURL == null || !"file".equals(fileURL.getProtocol())) { //NOI18N
fileURL = URLMapper.findURL(fo, URLMapper.EXTERNAL);