[jboss-remoting-commits] JBoss Remoting SVN: r3886 - remoting2/branches/2.x/src/main/org/jboss/remoting.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Apr 4 03:40:52 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-04-04 03:40:51 -0400 (Fri, 04 Apr 2008)
New Revision: 3886

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
Log:
JBREM-934: Uses SystemUtility.setSystemProperty().

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java	2008-04-03 22:10:40 UTC (rev 3885)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java	2008-04-04 07:40:51 UTC (rev 3886)
@@ -88,14 +88,7 @@
          }
          else
          {
-            AccessController.doPrivileged( new PrivilegedAction()
-            {
-               public Object run()
-               {
-                  System.setProperty(REMOTING_VERSION_TO_USE, new Byte(defaultByteVersion).toString());
-                  return null;
-               }
-            });
+            SystemUtility.setSystemProperty(REMOTING_VERSION_TO_USE, new Byte(defaultByteVersion).toString());
          }
       }
    }




More information about the jboss-remoting-commits mailing list