Author: ron.sigal(a)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());
}
}
}
Show replies by date