https://issues.apache.org/bugzilla/show_bug.cgi?id=50895
Summary: JSP compiler initializes classes during compile which
can result in failures
Product: Tomcat 6
Version: 6.0.32
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: [email protected]
ReportedBy: [email protected]
The fix for Bug 49555 adds the following code call:
clazz = Class.forName(className, true, tccl);
The 2nd argument (initialize) is set to true resulting in it attempting to
initialize the class. This can result in compilation failures if the class has
ugly static initializer requirements. It can also increases the time and
memory footprint of compilation as the classes.
I think for the purposes of the getCanonicalName() call, the second argument
should be set to false to prevent initialization of the class in question.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]