SearchPath.pathSeparatorChar -> altPathSeparatorChar

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1186 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 25 years ago
parent 43a2e1ccfa
commit 3ef0de7514
  1. 4
      jode/jode/obfuscator/ClassBundle.java.in
  2. 3
      jode/jode/swingui/Main.java.in

@ -66,7 +66,7 @@ public class ClassBundle implements OptionHandler {
public ClassBundle() { public ClassBundle() {
classPath = System.getProperty("java.class.path") classPath = System.getProperty("java.class.path")
.replace(File.pathSeparatorChar, SearchPath.pathSeparatorChar); .replace(File.pathSeparatorChar, SearchPath.altPathSeparatorChar);
destDir = "."; destDir = ".";
basePackage = new PackageIdentifier(this, null, "", ""); basePackage = new PackageIdentifier(this, null, "", "");
basePackage.setReachable(); basePackage.setReachable();
@ -88,7 +88,7 @@ public class ClassBundle implements OptionHandler {
Iterator i = values.iterator(); Iterator i = values.iterator();
StringBuffer sb = new StringBuffer((String) i.next()); StringBuffer sb = new StringBuffer((String) i.next());
while (i.hasNext()) { while (i.hasNext()) {
sb.append(SearchPath.pathSeparatorChar) sb.append(SearchPath.altPathSeparatorChar)
.append((String)i.next()); .append((String)i.next());
} }
ClassInfo.setClassPath(sb.toString()); ClassInfo.setClassPath(sb.toString());

@ -339,7 +339,8 @@ public class Main
public static void main(String[] params) { public static void main(String[] params) {
String cp = System.getProperty("java.class.path", ""); String cp = System.getProperty("java.class.path", "");
cp = cp.replace(File.pathSeparatorChar, SearchPath.pathSeparatorChar); cp = cp.replace(File.pathSeparatorChar,
SearchPath.altPathSeparatorChar);
for (int i=0; i<params.length; i++) { for (int i=0; i<params.length; i++) {
if (params[i].equals("--classpath")) if (params[i].equals("--classpath"))
cp = params[++i]; cp = params[++i];

Loading…
Cancel
Save