Index: FileUtil.java =================================================================== RCS file: /cvs/openide/src/org/openide/filesystems/FileUtil.java,v retrieving revision 1.116 diff -r1.116 FileUtil.java 954a955,956 > } else if (Utilities.getOperatingSystem() == Utilities.OS_VMS) { > file = normalizeFileOnVMS (file); 1051a1054,1087 > > //On VMS, the case of the JRE classpaths returned from System.property > //isn't necessary consistent with the case of the JRE files on the physical > //disk. So we look up the directory and fix the case of the classpaths. > private static File normalizeFileOnVMS (File file) { > String path = file.getAbsolutePath(); > //First, take out the 000000 > String nPath = path.replaceAll("/000000",""); > > //Now fix the cases of each files and directories > //by comparing against the native filesystem > StringBuffer newPath = new StringBuffer(); > String[] stok = nPath.split("/"); > > //Do the File.list of each directory from the root > //to find the correct case of each sub files/directories and construct > //a new path > for(int i=0; i if(stok[i].length() == 0) > continue; > newPath.append(File.separatorChar + stok[i]); > File f = new File(newPath.toString()); > if (f.isDirectory()) { > String [] files = f.list(); > for (int j=0; j if ((i+1) < stok.length && files[j].equalsIgnoreCase(stok[i+1])) { > stok[i+1] = files[j]; > break; > } > } > } > } > return new File(newPath.toString()); > } 1277c1313 < } --- > }