Author: ron.sigal(a)jboss.com
Date: 2008-04-11 21:20:29 -0400 (Fri, 11 Apr 2008)
New Revision: 3953
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java
Log:
JBREM-934: Replaced System.getSecurityManager() with SecurityUtility.skipAccessControl().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java 2008-04-12
01:19:44 UTC (rev 3952)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/coyote/OutputBuffer.java 2008-04-12
01:20:29 UTC (rev 3953)
@@ -29,6 +29,7 @@
import org.apache.tomcat.util.buf.ByteChunk;
import org.apache.tomcat.util.buf.C2BConverter;
import org.apache.tomcat.util.buf.CharChunk;
+import org.jboss.remoting.util.SecurityUtility;
/**
@@ -640,7 +641,7 @@
if(conv == null)
{
- if(System.getSecurityManager() != null)
+ if(!SecurityUtility.skipAccessControl())
{
try
{
Show replies by date