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

Norman Richards norman.richards at jboss.com
Thu Jul 12 09:36:36 EDT 2007


  User: nrichards
  Date: 07/07/12 09:36:36

  Modified:    src/main/org/jboss/seam/init  DeploymentDescriptor.java
  Log:
  JBSEAM-1645
  
  Revision  Changes    Path
  1.7       +4 -0      jboss-seam/src/main/org/jboss/seam/init/DeploymentDescriptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DeploymentDescriptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/init/DeploymentDescriptor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- DeploymentDescriptor.java	11 Jul 2007 17:11:32 -0000	1.6
  +++ DeploymentDescriptor.java	12 Jul 2007 13:36:36 -0000	1.7
  @@ -28,6 +28,10 @@
       public DeploymentDescriptor(Class clazz) 
       {
           componentClass = clazz;
  +        if (clazz.getClassLoader() == null) {
  +            return;
  +        }
  +
           try 
           {
               InputStream ejbJarXml = clazz.getClassLoader().getResourceAsStream("META-INF/ejb-jar.xml");
  
  
  



More information about the jboss-cvs-commits mailing list