[jboss-cvs] jboss-seam/src/main/org/jboss/seam/deployment ...

Gavin King gavin.king at jboss.com
Wed Dec 6 10:23:02 EST 2006


  User: gavin   
  Date: 06/12/06 10:23:02

  Modified:    src/main/org/jboss/seam/deployment  Scanner.java
  Log:
  throw exception if javassist is missing
  
  Revision  Changes    Path
  1.21      +3 -2      jboss-seam/src/main/org/jboss/seam/deployment/Scanner.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Scanner.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/deployment/Scanner.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- Scanner.java	21 Nov 2006 19:42:31 -0000	1.20
  +++ Scanner.java	6 Dec 2006 15:23:01 -0000	1.21
  @@ -1,4 +1,4 @@
  -//$Id: Scanner.java,v 1.20 2006/11/21 19:42:31 gavin Exp $
  +//$Id: Scanner.java,v 1.21 2006/12/06 15:23:01 gavin Exp $
   package org.jboss.seam.deployment;
   
   import java.io.DataInputStream;
  @@ -36,6 +36,7 @@
      {
         this.resourceName = resourceName;
         this.classLoader = classLoader;      
  +      ClassFile.class.getPackage(); //to force loading of javassist, throwing an exception if it is missing
      }
      
      public static String filenameToClassname(String filename)
  
  
  



More information about the jboss-cvs-commits mailing list