*** empty log message ***

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@347 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 168465364c
commit 9fbbedb0ad
  1. 4
      jode/jode/decompiler/CodeAnalyzer.java
  2. 2
      jode/jode/decompiler/FieldAnalyzer.java
  3. 2
      jode/jode/decompiler/MethodAnalyzer.java
  4. 2
      jode/jode/flow/FlowBlock.java
  5. 6
      jode/jode/obfuscator/ClassBundle.java
  6. 4
      jode/jode/obfuscator/PackageIdentifier.java
  7. 2
      jode/jode/swingui/Main.java

@ -101,7 +101,7 @@ public class CodeAnalyzer implements Analyzer {
flags[succs[i]] |= PREDECESSORS; flags[succs[i]] |= PREDECESSORS;
} }
} catch (IOException ex) { } catch (IOException ex) {
ex.printStackTrace(); ex.printStackTrace(Decompiler.err);
throw new ClassFormatError(ex.getMessage()); throw new ClassFormatError(ex.getMessage());
} }
for (int i=0; i<handlers.length; i += 4) { for (int i=0; i<handlers.length; i += 4) {
@ -175,7 +175,7 @@ public class CodeAnalyzer implements Analyzer {
instr[handler].markReachable(); instr[handler].markReachable();
} }
} catch (IOException ex) { } catch (IOException ex) {
ex.printStackTrace(); ex.printStackTrace(Decompiler.err);
throw new ClassFormatError(ex.getMessage()); throw new ClassFormatError(ex.getMessage());
} }

@ -62,7 +62,7 @@ public class FieldAnalyzer implements Analyzer {
cla.getConstantPool().getConstantString(index)); cla.getConstantPool().getConstantString(index));
constant.makeInitializer(); constant.makeInitializer();
} catch (ClassFormatException ex) { } catch (ClassFormatException ex) {
ex.printStackTrace(); ex.printStackTrace(Decompiler.err);
throw new AssertError("ClassFormatException"); throw new AssertError("ClassFormatException");
} }
} }

@ -60,7 +60,7 @@ public class MethodAnalyzer implements Analyzer {
codeinfo.read(classAnalyzer.getConstantPool(), stream); codeinfo.read(classAnalyzer.getConstantPool(), stream);
code = new CodeAnalyzer(this, codeinfo, env); code = new CodeAnalyzer(this, codeinfo, env);
} catch (IOException ex) { } catch (IOException ex) {
ex.printStackTrace(); ex.printStackTrace(Decompiler.err);
code = null; code = null;
} }
} }

@ -1420,7 +1420,7 @@ public class FlowBlock {
} catch (RuntimeException ex) { } catch (RuntimeException ex) {
Decompiler.err.println("Can't resolve all PUSHes, " Decompiler.err.println("Can't resolve all PUSHes, "
+"this is probably illegal bytecode:"); +"this is probably illegal bytecode:");
ex.printStackTrace(); ex.printStackTrace(Decompiler.err);
return false; return false;
} }
} }

@ -81,7 +81,7 @@ public class ClassBundle {
input.close(); input.close();
} catch (java.io.IOException ex) { } catch (java.io.IOException ex) {
Obfuscator.err.println("Can't read rename table "+filename); Obfuscator.err.println("Can't read rename table "+filename);
ex.printStackTrace(); ex.printStackTrace(Obfuscator.err);
} }
basePackage.readTable(prop); basePackage.readTable(prop);
} }
@ -95,7 +95,7 @@ public class ClassBundle {
out.close(); out.close();
} catch (java.io.IOException ex) { } catch (java.io.IOException ex) {
Obfuscator.err.println("Can't write rename table "+filename); Obfuscator.err.println("Can't write rename table "+filename);
ex.printStackTrace(); ex.printStackTrace(Obfuscator.err);
} }
} }
@ -109,7 +109,7 @@ public class ClassBundle {
zip.close(); zip.close();
} catch (IOException ex) { } catch (IOException ex) {
System.err.println("Can't write zip file: "+destination); System.err.println("Can't write zip file: "+destination);
ex.printStackTrace(); ex.printStackTrace(Obfuscator.err);
} }
} else { } else {
File directory = new File(destination); File directory = new File(destination);

@ -330,7 +330,7 @@ public class PackageIdentifier extends Identifier {
} catch (java.io.IOException ex) { } catch (java.io.IOException ex) {
Obfuscator.err.println("Can't write Class " Obfuscator.err.println("Can't write Class "
+ ident.getName()); + ident.getName());
ex.printStackTrace(); ex.printStackTrace(Obfuscator.err);
} }
} }
} }
@ -372,7 +372,7 @@ public class PackageIdentifier extends Identifier {
} catch (java.io.IOException ex) { } catch (java.io.IOException ex) {
Obfuscator.err.println("Can't write Class " Obfuscator.err.println("Can't write Class "
+ ident.getName()); + ident.getName());
ex.printStackTrace(); ex.printStackTrace(Obfuscator.err);
} }
} }
} }

@ -145,7 +145,7 @@ public class MainWindow
} catch (Throwable t) { } catch (Throwable t) {
sourcecodeArea.setText("Didn't succeed.\n" sourcecodeArea.setText("Didn't succeed.\n"
+"Check the below area for more info."); +"Check the below area for more info.");
t.printStackTrace(); t.printStackTrace(Decompiler.err);
} finally { } finally {
synchronized(this) { synchronized(this) {
decompileThread = null; decompileThread = null;

Loading…
Cancel
Save