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

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Tue May 13 00:50:37 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-05-13 00:50:37 -0400 (Tue, 13 May 2008)
New Revision: 4174

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java
Log:
JBREM-978: Moved setAccessible() to SecurityUtility.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java	2008-05-12 03:34:26 UTC (rev 4173)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java	2008-05-13 04:50:37 UTC (rev 4174)
@@ -53,7 +53,6 @@
       try
       {
          clearMethod = SecurityUtility.getDeclaredMethod(ObjectInputStream.class, "clear", new Class[]{});
-         clearMethod.setAccessible(true);
          
       } catch (SecurityException e) {
          log.error(e.getMessage(), e);




More information about the jboss-remoting-commits mailing list