-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
hopper
-
generic
-
generic
-
Verified
Name: boT120536 Date: 01/02/2001
java version "1.3.0_01-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01-beta)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Background
----------
I am developing apps that run inside Catalina (Apache's Tomcat 4.0) that need
Xalan to do transforms. I place the Xalan.jar in WEB-INF/libs as usual. When
the JSP execution engine loads my bean, and that bean uses Xalan, a
SecurityException is caught by the JSP engine. The text of the exception is
"sealing violation". It took me a while to figure out what was causing this.
Proposal
--------
That the exception as thrown in URLClassLoader should have text like:
"Sealing violation in <package-name>, This package is probably already loaded
and a second attempt to define the package via another class loader is not
allowed"
Or how about a PackageAlreadyDefinedException extending SecurityException?
- Paul H (wbsl)
(Review ID: 114086)
======================================================================