[jboss-cvs] javassist/src/main/javassist/bytecode ...

Jason Thomas Greene jgreene at jboss.com
Mon Jan 5 23:35:28 EST 2009


  User: jgreene 
  Date: 09/01/05 23:35:28

  Modified:    src/main/javassist/bytecode  InstructionPrinter.java
  Log:
  Fix JASSIST-71 - Array access replacement generates invalid bytecode when padding is required
  Add checkcast support to framedump
  
  Revision  Changes    Path
  1.2       +1 -0      javassist/src/main/javassist/bytecode/InstructionPrinter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InstructionPrinter.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/bytecode/InstructionPrinter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- InstructionPrinter.java	24 May 2008 05:12:44 -0000	1.1
  +++ InstructionPrinter.java	6 Jan 2009 04:35:28 -0000	1.2
  @@ -130,6 +130,7 @@
               case NEWARRAY:
                   return opstring + " " + arrayInfo(iter.byteAt(pos + 1));
               case ANEWARRAY:
  +            case CHECKCAST:
                   return opstring + " " + classInfo(pool, iter.u16bitAt(pos + 1));
               case WIDE:
                   return wide(iter, pos);
  
  
  



More information about the jboss-cvs-commits mailing list