dumpCode takes PrintWriter

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@969 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent de20c9b7af
commit 8e6699a797
  1. 2
      jode/jode/bytecode/BytecodeInfo.java

@ -626,7 +626,7 @@ public class BytecodeInfo extends BinaryInfo implements Opcodes {
readAttributes(cp, input, FULLINFO);
}
public void dumpCode(java.io.PrintStream output) {
public void dumpCode(java.io.PrintWriter output) {
for (Instruction instr = firstInstr;
instr != null; instr = instr.nextByAddr) {
output.println(instr.getDescription() + " "

Loading…
Cancel
Save