ASF Bugzilla – Attachment 30871 Details for
Bug 55582
Concurrent issue of TagFileProcessor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Unsynchronized getting wrapper from RuntimeContext
TagFileProcessor.diff (text/plain), 811 bytes, created by
Sheldon Shao
on 2013-09-22 10:00:36 UTC
(
hide
)
Description:
Unsynchronized getting wrapper from RuntimeContext
Filename:
MIME Type:
Creator:
Sheldon Shao
Created:
2013-09-22 10:00:36 UTC
Size:
811 bytes
patch
obsolete
>Index: java/org/apache/jasper/compiler/TagFileProcessor.java >=================================================================== >--- java/org/apache/jasper/compiler/TagFileProcessor.java (revision 1507186) >+++ java/org/apache/jasper/compiler/TagFileProcessor.java (working copy) >@@ -533,9 +533,11 @@ > > JspCompilationContext ctxt = compiler.getCompilationContext(); > JspRuntimeContext rctxt = ctxt.getRuntimeContext(); >- JspServletWrapper wrapper = rctxt.getWrapper(wrapperUri); >+ > > synchronized (rctxt) { >+ JspServletWrapper wrapper = rctxt.getWrapper(wrapperUri); >+ > if (wrapper == null) { > wrapper = new JspServletWrapper(ctxt.getServletContext(), ctxt > .getOptions(), tagFilePath, tagInfo, ctxt
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 55582
: 30871