You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/02/13 16:44:30 UTC

svn commit: r627485 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Loader.java

Author: dims
Date: Wed Feb 13 07:44:27 2008
New Revision: 627485

URL: http://svn.apache.org/viewvc?rev=627485&view=rev
Log:
Don't expose doPriv code to end user, it's a security risk

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Loader.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Loader.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Loader.java?rev=627485&r1=627484&r2=627485&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Loader.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Loader.java Wed Feb 13 07:44:27 2008
@@ -196,7 +196,7 @@
      * @throws IllegalAccessException
      * @throws InvocationTargetException
      */
-    static public ClassLoader getTCL() throws IllegalAccessException, InvocationTargetException {
+    static private ClassLoader getTCL() throws IllegalAccessException, InvocationTargetException {
         return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() {
             public Object run() {
                 return Thread.currentThread().getContextClassLoader();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org