ASF Bugzilla – Attachment 33075 Details for
Bug 58340
No error shown when some tag file in jar has compile error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the problem
JspCompilationContext.java.patch (text/plain), 746 bytes, created by
Mou, Jian
on 2015-09-07 13:28:19 UTC
(
hide
)
Description:
patch to fix the problem
Filename:
MIME Type:
Creator:
Mou, Jian
Created:
2015-09-07 13:28:19 UTC
Size:
746 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P Tomcat7 >Index: java/org/apache/jasper/JspCompilationContext.java >=================================================================== >--- java/org/apache/jasper/JspCompilationContext.java (revision 1633611) >+++ java/org/apache/jasper/JspCompilationContext.java (working copy) >@@ -278,7 +278,15 @@ > * as an InputStream. > */ > public java.io.InputStream getResourceAsStream(String res) { >- return context.getResourceAsStream(canonicalURI(res)); >+ java.io.InputStream is = null; >+ try { >+ URL url = getResource(res); >+ is = url.openStream(); >+ } catch (IOException e) { >+ //ignore >+ } >+ >+ return is; > } > >
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 58340
: 33075