From: markt Date: Wed, 9 Mar 2011 13:52:07 +0000 (+0000) Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50895 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fae47a719b2bd42fd150d379abacd12b20cd52a0;p=tomcat7.0 Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50895 Don't initialize classes during compilation git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079801 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/ELFunctionMapper.java b/java/org/apache/jasper/compiler/ELFunctionMapper.java index 6c8b2146d..a3aba0902 100644 --- a/java/org/apache/jasper/compiler/ELFunctionMapper.java +++ b/java/org/apache/jasper/compiler/ELFunctionMapper.java @@ -312,7 +312,7 @@ public class ELFunctionMapper { } try { - clazz = Class.forName(className, true, tccl); + clazz = Class.forName(className, false, tccl); } catch (ClassNotFoundException e) { throw new JasperException(e); } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 556556e79..b41eccf9e 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -94,6 +94,10 @@ Correct possible threading issue in JSP compilation when development mode is used. (markt) + + 50895: Don't initialize classes created during the + compilation stage. (markt) +