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

Jason Thomas Greene jgreene at jboss.com
Sat May 24 01:12:40 EDT 2008


  User: jgreene 
  Date: 08/05/24 01:12:40

  Modified:    src/main/javassist   CodeConverter.java CtArray.java
  Log:
  Fix subtypeOf in CtArray
  Introduce full data-flow analysis API
  Fix AALOAD by using data-flow analysis to determine the type
  Introduce a testsuite to the project
  Add a framedump toolp
  
  Revision  Changes    Path
  1.14      +3 -4      javassist/src/main/javassist/CodeConverter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CodeConverter.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CodeConverter.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- CodeConverter.java	4 Jun 2007 03:11:11 -0000	1.13
  +++ CodeConverter.java	24 May 2008 05:12:39 -0000	1.14
  @@ -470,9 +470,8 @@
           CodeAttribute codeAttr = minfo.getCodeAttribute();
           if (codeAttr == null || transformers == null)
               return;
  -
           for (t = transformers; t != null; t = t.getNext())
  -            t.initialize(cp, codeAttr);
  +            t.initialize(cp, clazz, minfo);
   
           CodeIterator iterator = codeAttr.iterator();
           while (iterator.hasNext()) {
  @@ -504,7 +503,7 @@
        * as array access replacements.
        *
        * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
  -     * @version $Revision: 1.13 $
  +     * @version $Revision: 1.14 $
        */
       public interface ArrayAccessReplacementMethodNames
       {
  @@ -613,7 +612,7 @@
        * accesses to array elements.
        *
        * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
  -     * @version $Revision: 1.13 $
  +     * @version $Revision: 1.14 $
        */
       public static class DefaultArrayAccessReplacementMethodNames
           implements ArrayAccessReplacementMethodNames
  
  
  
  1.10      +2 -1      javassist/src/main/javassist/CtArray.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtArray.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtArray.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- CtArray.java	4 Jun 2007 03:11:11 -0000	1.9
  +++ CtArray.java	24 May 2008 05:12:40 -0000	1.10
  @@ -41,7 +41,8 @@
   
           String cname = clazz.getName();
           if (cname.equals(javaLangObject)
  -            || cname.equals("java.lang.Cloneable"))
  +            || cname.equals("java.lang.Cloneable")
  +            || cname.equals("java.io.Serializable"))
               return true;
   
           return clazz.isArray()
  
  
  



More information about the jboss-cvs-commits mailing list