|
|
@ -25,6 +25,7 @@ import java.awt.event.*; |
|
|
|
///#endif
|
|
|
|
///#endif
|
|
|
|
import java.io.*; |
|
|
|
import java.io.*; |
|
|
|
import jode.bytecode.ClassInfo; |
|
|
|
import jode.bytecode.ClassInfo; |
|
|
|
|
|
|
|
import jode.bytecode.SearchPath; |
|
|
|
import jode.decompiler.*; |
|
|
|
import jode.decompiler.*; |
|
|
|
|
|
|
|
|
|
|
|
public class JodeWindow |
|
|
|
public class JodeWindow |
|
|
@ -241,10 +242,7 @@ public class JodeWindow |
|
|
|
///#endif
|
|
|
|
///#endif
|
|
|
|
|
|
|
|
|
|
|
|
lastClassName = classField.getText(); |
|
|
|
lastClassName = classField.getText(); |
|
|
|
String cp = classpathField.getText(); |
|
|
|
ClassInfo.setClassPath(classpathField.getText()); |
|
|
|
cp = cp.replace(':', jode.bytecode.SearchPath.protocolSeparator); |
|
|
|
|
|
|
|
cp = cp.replace(',', File.pathSeparatorChar); |
|
|
|
|
|
|
|
ClassInfo.setClassPath(cp); |
|
|
|
|
|
|
|
ImportHandler imports = new ImportHandler(); |
|
|
|
ImportHandler imports = new ImportHandler(); |
|
|
|
try { |
|
|
|
try { |
|
|
|
ClassInfo clazz; |
|
|
|
ClassInfo clazz; |
|
|
@ -291,7 +289,8 @@ public class JodeWindow |
|
|
|
|
|
|
|
|
|
|
|
String cp = System.getProperty("java.class.path"); |
|
|
|
String cp = System.getProperty("java.class.path"); |
|
|
|
if (cp != null) |
|
|
|
if (cp != null) |
|
|
|
win.setClasspath(cp.replace(File.pathSeparatorChar, ',')); |
|
|
|
win.setClasspath(cp.replace(File.pathSeparatorChar, |
|
|
|
|
|
|
|
SearchPath.pathSeparatorChar)); |
|
|
|
String cls = win.getClass().getName(); |
|
|
|
String cls = win.getClass().getName(); |
|
|
|
win.setClass(cls); |
|
|
|
win.setClass(cls); |
|
|
|
|
|
|
|
|
|
|
|