[jboss-remoting-commits] JBoss Remoting SVN: r3973 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Fri Apr 11 22:46:27 EDT 2008
Author: ron.sigal at jboss.com
Date: 2008-04-11 22:46:26 -0400 (Fri, 11 Apr 2008)
New Revision: 3973
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
Log:
JBREM-934: (1) Took PropertyEditors.mapJavaBeanProperties() out of AccessController.doPrivileged() call.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2008-04-12 02:45:48 UTC (rev 3972)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2008-04-12 02:46:26 UTC (rev 3973)
@@ -482,26 +482,9 @@
protected void setup() throws Exception
{
- final Properties props = new Properties();
+ Properties props = new Properties();
props.putAll(configuration);
-
- try
- {
- AccessController.doPrivileged( new PrivilegedExceptionAction()
- {
- public Object run() throws IntrospectionException
- {
- PropertyEditors.mapJavaBeanProperties(MicroSocketClientInvoker.this, props, false);
- return null;
- }
- });
- }
- catch (PrivilegedActionException e)
- {
- log.debug(e.toString(), e);
- throw e;
- }
-
+ PropertyEditors.mapJavaBeanProperties(MicroSocketClientInvoker.this, props, false);
configureParameters();
if (!InvokerLocator.MULTIHOME.equals(locator.getHost()))
More information about the jboss-remoting-commits
mailing list