diff --git a/jode/jode/flow/FlowBlock.java b/jode/jode/flow/FlowBlock.java index df152b4..304e856 100644 --- a/jode/jode/flow/FlowBlock.java +++ b/jode/jode/flow/FlowBlock.java @@ -739,7 +739,7 @@ public class FlowBlock { } } } catch (AssertError err) { - System.err.println("Inconsistency in: "+this); + GlobalOptions.err.println("Inconsistency in: "+this); throw err; } } @@ -1378,7 +1378,7 @@ public class FlowBlock { } if ((GlobalOptions.debuggingFlags & GlobalOptions.DEBUG_FLOW) != 0) - System.err.println("after analyzeSwitch: "+this); + GlobalOptions.err.println("after analyzeSwitch: "+this); checkConsistent(); return changed; } @@ -1460,7 +1460,8 @@ public class FlowBlock { stack = succ.stackMap; for (/**/; jumps != null; jumps = jumps.next) { if (jumps.stackMap == null) - System.err.println("Dead jump? "+jumps.prev+" in "+this); + GlobalOptions.err.println("Dead jump? "+jumps.prev + +" in "+this); stack = VariableStack.merge(stack, jumps.stackMap); } diff --git a/jode/jode/jvm/Interpreter.java b/jode/jode/jvm/Interpreter.java index 8b53c09..b5d36a3 100644 --- a/jode/jode/jvm/Interpreter.java +++ b/jode/jode/jvm/Interpreter.java @@ -53,7 +53,7 @@ public class Interpreter implements Opcodes { throws InterpreterException, InvocationTargetException { if ((GlobalOptions.debuggingFlags & GlobalOptions.DEBUG_INTERPRT) != 0) - System.err.println("Interpreting "+code.getMethodInfo()); + GlobalOptions.err.println("Interpreting "+code.getMethodInfo()); Value[] stack = new Value[code.getMaxStack()]; for (int i=0; i< stack.length; i++) stack[i] = new Value(); diff --git a/jode/jode/obfuscator/ClassBundle.java b/jode/jode/obfuscator/ClassBundle.java index 4bbb849..388d5a9 100644 --- a/jode/jode/obfuscator/ClassBundle.java +++ b/jode/jode/obfuscator/ClassBundle.java @@ -190,7 +190,8 @@ public class ClassBundle { basePackage.storeClasses(zip); zip.close(); } catch (IOException ex) { - System.err.println("Can't write zip file: "+destination); + GlobalOptions.err.println + ("Can't write zip file: "+destination); ex.printStackTrace(GlobalOptions.err); } } else {