[jboss-cvs] JBossAS SVN: r91970 - projects/jboss-threads/trunk/main/src/main/java/org/jboss/threads.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Aug 4 15:59:16 EDT 2009
Author: david.lloyd at jboss.com
Date: 2009-08-04 15:59:15 -0400 (Tue, 04 Aug 2009)
New Revision: 91970
Modified:
projects/jboss-threads/trunk/main/src/main/java/org/jboss/threads/JBossExecutors.java
Log:
javadoc
Modified: projects/jboss-threads/trunk/main/src/main/java/org/jboss/threads/JBossExecutors.java
===================================================================
--- projects/jboss-threads/trunk/main/src/main/java/org/jboss/threads/JBossExecutors.java 2009-08-04 19:46:10 UTC (rev 91969)
+++ projects/jboss-threads/trunk/main/src/main/java/org/jboss/threads/JBossExecutors.java 2009-08-04 19:59:15 UTC (rev 91970)
@@ -550,8 +550,10 @@
*
* @param delegate the delegate runnable
* @return the wrapping runnable
+ * @throws SecurityException if a security manager exists and the caller does not have the {@code "copyClassLoader"}
+ * {@link RuntimePermission}.
*/
- public static Runnable classLoaderPreservingTask(final Runnable delegate) {
+ public static Runnable classLoaderPreservingTask(final Runnable delegate) throws SecurityException {
final SecurityManager sm = System.getSecurityManager();
if (sm != null) {
sm.checkPermission(COPY_CONTEXT_CLASSLOADER_PERMISSION);
More information about the jboss-cvs-commits
mailing list