Author: remy.maucherat(a)jboss.com
Date: 2010-10-27 03:58:42 -0400 (Wed, 27 Oct 2010)
New Revision: 1568
Modified:
trunk/java/org/apache/jasper/compiler/TagFileProcessor.java
Log:
- ...
Modified: trunk/java/org/apache/jasper/compiler/TagFileProcessor.java
===================================================================
--- trunk/java/org/apache/jasper/compiler/TagFileProcessor.java 2010-10-26 13:38:08 UTC
(rev 1567)
+++ trunk/java/org/apache/jasper/compiler/TagFileProcessor.java 2010-10-27 07:58:42 UTC
(rev 1568)
@@ -21,7 +21,6 @@
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -596,8 +595,7 @@
rctxt.addWrapper(tagFileJarPath + tagFilePath, wrapper);
// Use same classloader and classpath for compiling tag files
- wrapper.getJspEngineContext().setClassLoader(
- (URLClassLoader) ctxt.getClassLoader());
+ wrapper.getJspEngineContext().setClassLoader(ctxt.getClassLoader());
wrapper.getJspEngineContext().setClassPath(ctxt.getClassPath());
} else {
// Make sure that JspCompilationContext gets the latest TagInfo
Show replies by date