[jboss-cvs] JBossAS SVN: r112526 - branches/JBPAPP_5_1_3_interim/connector/src/main/org/jboss/resource/connectionmanager.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 20 14:42:08 EST 2011


Author: jbertram at redhat.com
Date: 2011-12-20 14:42:07 -0500 (Tue, 20 Dec 2011)
New Revision: 112526

Modified:
   branches/JBPAPP_5_1_3_interim/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java
Log:
JBPAPP-7786 - use AccessController to get property value

Modified: branches/JBPAPP_5_1_3_interim/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java
===================================================================
--- branches/JBPAPP_5_1_3_interim/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java	2011-12-20 16:31:16 UTC (rev 112525)
+++ branches/JBPAPP_5_1_3_interim/connector/src/main/org/jboss/resource/connectionmanager/ManagedConnectionFactoryDeployment.java	2011-12-20 19:42:07 UTC (rev 112526)
@@ -861,7 +861,7 @@
          }
          else
          {
-            if ("false".equals(System.getProperty("recover-connection-validation", "true"));)
+            if ("false".equals(SecurityActions.getSystemProperty("recover-connection-validation")))
             {
                if (log.isDebugEnabled())
                   log.debug("Recovery connection validation is disabled.  Forcing recreate of managed connection.");



More information about the jboss-cvs-commits mailing list