[jboss-remoting-commits] JBoss Remoting SVN: r3974 - 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:41 EDT 2008
Author: ron.sigal at jboss.com
Date: 2008-04-11 22:46:41 -0400 (Fri, 11 Apr 2008)
New Revision: 3974
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.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/SocketServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2008-04-12 02:46:26 UTC (rev 3973)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2008-04-12 02:46:41 UTC (rev 3974)
@@ -182,25 +182,8 @@
protected void setup() throws Exception
{
props.putAll(getConfiguration());
- try
- {
- AccessController.doPrivileged( new PrivilegedExceptionAction()
- {
- public Object run() throws IntrospectionException
- {
- PropertyEditors.mapJavaBeanProperties(SocketServerInvoker.this, props, false);
- return null;
- }
- });
- }
- catch (PrivilegedActionException e)
- {
- log.debug(e.toString(), e);
- throw e;
- }
-
+ PropertyEditors.mapJavaBeanProperties(SocketServerInvoker.this, props, false);
super.setup();
-
String ssclass = props.getProperty(SERVER_SOCKET_CLASS_FLAG);
if(ssclass != null)
{
More information about the jboss-remoting-commits
mailing list