ASF Bugzilla – Attachment 29860 Details for
Bug 54440
TagPluginManager.init() throws NPE when used in Ant <jasper> task
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for this issue
PatchForBug54444.diff (text/plain), 1.06 KB, created by
Sheldon Shao
on 2013-01-17 08:43:38 UTC
(
hide
)
Description:
Patch for this issue
Filename:
MIME Type:
Creator:
Sheldon Shao
Created:
2013-01-17 08:43:38 UTC
Size:
1.06 KB
patch
obsolete
>Index: JspC.java >=================================================================== >--- JspC.java (revision 1434587) >+++ JspC.java (working copy) >@@ -1516,7 +1516,7 @@ > URL urlsA[]=new URL[urls.size()]; > urls.toArray(urlsA); > loader = new URLClassLoader(urlsA, this.getClass().getClassLoader()); >- >+ context.setClassLoader(loader); > } > > /** >Index: servlet/JspCServletContext.java >=================================================================== >--- servlet/JspCServletContext.java (revision 1434587) >+++ servlet/JspCServletContext.java (working copy) >@@ -77,6 +77,11 @@ > */ > protected URL myResourceBaseURL; > >+ >+ /** >+ * Class Loader >+ */ >+ private ClassLoader loader; > > // ----------------------------------------------------------- Constructors > >@@ -612,7 +617,11 @@ > > @Override > public ClassLoader getClassLoader() { >- return null; >+ return loader; >+ } >+ >+ public void setClassLoader(ClassLoader loader) { >+ this.loader = loader; > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54440
: 29860