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

Shigeru Chiba chiba at is.titech.ac.jp
Fri May 4 23:47:52 EDT 2007


  User: chiba   
  Date: 07/05/04 23:47:52

  Modified:    src/main/javassist   CtClassType.java CtClass.java
  Log:
  Javassist has been producing an interface with a wrong modifier.  I fixed this.
  
  Revision  Changes    Path
  1.54      +1 -2      javassist/src/main/javassist/CtClassType.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtClassType.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtClassType.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -b -r1.53 -r1.54
  --- CtClassType.java	6 Aug 2006 15:09:45 -0000	1.53
  +++ CtClassType.java	5 May 2007 03:47:52 -0000	1.54
  @@ -414,8 +414,7 @@
           }
   
           checkModify();
  -        int acc = AccessFlag.of(mod) | AccessFlag.SUPER;
  -        cf.setAccessFlags(acc);
  +        cf.setAccessFlags(AccessFlag.of(mod));
       }
   
       public Object[] getAnnotations() throws ClassNotFoundException {
  
  
  
  1.82      +2 -2      javassist/src/main/javassist/CtClass.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtClass.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtClass.java,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -b -r1.81 -r1.82
  --- CtClass.java	29 Apr 2007 03:38:11 -0000	1.81
  +++ CtClass.java	5 May 2007 03:47:52 -0000	1.82
  @@ -52,7 +52,7 @@
       /**
        * The version number of this release.
        */
  -    public static final String version = "3.5GA";
  +    public static final String version = "3.6.0BETA";
   
       /**
        * Prints the version number and the copyright notice.
  @@ -63,7 +63,7 @@
        */
       public static void main(String[] args) {
           System.out.println("Javassist version " + CtClass.version);
  -        System.out.println("Copyright (C) 1999-2006 Shigeru Chiba."
  +        System.out.println("Copyright (C) 1999-2007 Shigeru Chiba."
                              + " All Rights Reserved.");
       }
   
  
  
  



More information about the jboss-cvs-commits mailing list