Author: ron.sigal(a)jboss.com
Date: 2008-05-27 20:31:27 -0400 (Tue, 27 May 2008)
New Revision: 4239
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java
Log:
JBREM-978: Commented out System.out.println().
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java 2008-05-27
23:58:39 UTC (rev 4238)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java 2008-05-28
00:31:27 UTC (rev 4239)
@@ -111,7 +111,7 @@
{
boolean b1 = System.getSecurityManager() == null;
boolean b2 = Boolean.getBoolean(Remoting.SKIP_ACCESS_CONTROL);
- System.out.println("security manager: " +
System.getSecurityManager());
+// System.out.println("security manager: " +
System.getSecurityManager());
return new Boolean(b1 || b2);
}
})).booleanValue();
@@ -128,6 +128,7 @@
return skipAccessControl;
}
+
///////////////////////////////////////////////////////////////////////////////////////
// FilePermission methods
///////////////////////////////////////////////////////////////////////////////////////
@@ -421,7 +422,7 @@
catch (PrivilegedActionException e)
{
throw (Exception) e.getCause();
- }
+ }
}
@@ -434,7 +435,7 @@
try
{
c = Class.forName("java.lang.management.ManagementFactory");
- }
+ }
catch (Exception e)
{
System.out.println("Unable to access
java.lang.management.ManagementFactory: must be using jdk 1.4");
@@ -456,7 +457,7 @@
try
{
c = Class.forName("java.lang.management.ManagementFactory");
- }
+ }
catch (Exception e)
{
System.out.println("Unable to access
java.lang.management.ManagementFactory: must be using jdk 1.4");
@@ -477,7 +478,7 @@
throw (IllegalAccessException) cause;
else
throw (InvocationTargetException) cause;
- }
+ }
}
@@ -880,6 +881,7 @@
}
}
+
///////////////////////////////////////////////////////////////////////////////////////
// SocketPermission methods
///////////////////////////////////////////////////////////////////////////////////////
Show replies by date