[jboss-cvs] JBossAS SVN: r57318 - trunk/system/src/main/org/jboss/system/server/profileservice
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Sep 30 22:47:13 EDT 2006
Author: scott.stark at jboss.org
Date: 2006-09-30 22:47:12 -0400 (Sat, 30 Sep 2006)
New Revision: 57318
Modified:
trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java
Log:
Validate that the first deploy class loader is not null.
Modified: trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java 2006-10-01 02:46:34 UTC (rev 57317)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java 2006-10-01 02:47:12 UTC (rev 57318)
@@ -344,9 +344,9 @@
deployer.process();
checkIncomplete();
- ClassLoader cl = first.getClassLoader();
Thread thread = Thread.currentThread();
ClassLoader old = thread.getContextClassLoader();
+ ClassLoader cl = first != null ? first.getClassLoader() : null;
if (cl != null)
thread.setContextClassLoader(cl);
try
More information about the jboss-cvs-commits
mailing list