Author: asoldano
Date: 2014-01-30 12:10:12 -0500 (Thu, 30 Jan 2014)
New Revision: 18294
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
Log:
[JBWS-3755] Protect AbstractServerConfig.getServerIntegrationServerConfig() with
ClassLoaderProvider.isSet()
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2014-01-30
17:08:21 UTC (rev 18293)
+++
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2014-01-30
17:10:12 UTC (rev 18294)
@@ -291,6 +291,9 @@
public static ServerConfig getServerIntegrationServerConfig()
{
+ if (!ClassLoaderProvider.isSet()) {
+ return null;
+ }
synchronized (AbstractServerConfig.class) //ensure both atomicity and visibility
{
if (serverConfig == null)