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