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

Shigeru Chiba chiba at is.titech.ac.jp
Mon Aug 14 10:48:47 EDT 2006


  User: chiba   
  Date: 06/08/14 10:48:47

  Modified:    src/main/javassist/util/proxy  FactoryHelper.java
  Log:
  deprecated ClassPool#toClass(CtClass,ClassLoader).
  
  Revision  Changes    Path
  1.4       +2 -2      javassist/src/main/javassist/util/proxy/FactoryHelper.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FactoryHelper.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/util/proxy/FactoryHelper.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- FactoryHelper.java	7 Aug 2006 15:48:31 -0000	1.3
  +++ FactoryHelper.java	14 Aug 2006 14:48:47 -0000	1.4
  @@ -24,7 +24,6 @@
   import java.security.ProtectionDomain;
   
   import javassist.CannotCompileException;
  -import javassist.CtClass;
   import javassist.bytecode.ClassFile;
   
   /**
  @@ -124,7 +123,7 @@
        * This method uses a default protection domain for the class
        * but it may not work with a security manager or a sigend jar file.
        *
  -     * @see #toClass(CtClass,ClassLoader,ProtectionDomain)
  +     * @see #toClass(ClassFile,ClassLoader,ProtectionDomain)
        */
       public static Class toClass(ClassFile cf, ClassLoader loader)
           throws CannotCompileException
  @@ -136,6 +135,7 @@
        * Loads a class file by a given class loader.
        *
        * @param domain        if it is null, a default domain is used.
  +     * @since 3.3
        */
       public static Class toClass(ClassFile cf, ClassLoader loader, ProtectionDomain domain)
               throws CannotCompileException
  
  
  



More information about the jboss-cvs-commits mailing list