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

Shigeru Chiba chiba at is.titech.ac.jp
Sat Jun 2 10:18:21 EDT 2007


  User: chiba   
  Date: 07/06/02 10:18:21

  Modified:    src/main/javassist/bytecode  ClassFile.java
  Log:
  for JIRA JASSIST-34
  
  Revision  Changes    Path
  1.34      +1 -1      javassist/src/main/javassist/bytecode/ClassFile.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ClassFile.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/bytecode/ClassFile.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -b -r1.33 -r1.34
  --- ClassFile.java	2 Jun 2007 14:12:35 -0000	1.33
  +++ ClassFile.java	2 Jun 2007 14:18:21 -0000	1.34
  @@ -676,7 +676,7 @@
           int i, n;
           int magic = in.readInt();
           if (magic != 0xCAFEBABE)
  -            throw new IOException("non class file");
  +            throw new IOException("bad magic number: " + Integer.toHexString(magic));
   
           minor = in.readUnsignedShort();
           major = in.readUnsignedShort();
  
  
  



More information about the jboss-cvs-commits mailing list