https://issues.apache.org/bugzilla/show_bug.cgi?id=55582
Sheldon Shao <xs...@ebay.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30871|0 |1 is patch| | --- Comment #1 from Sheldon Shao <xs...@ebay.com> --- Comment on attachment 30871 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30871 Unsynchronized getting wrapper from RuntimeContext >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 are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org