-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0, 1.2.2
-
None
-
beta
-
generic, x86
-
generic, windows_95
A sealing violation is not detected in the case where the first class in the
package is loaded from a directory (rather than a jar file) and the second
is loaded from a sealed jar file. If the classes are loaded in the reverse
order, the sealing violation is detected. The attached example has a
Unix-specific makefile, but the bug should exist on Windows also.
- duplicates
-
JDK-4294905 ClassLoader.getPackages() tracks only entries found in jars.
- Closed
- relates to
-
JDK-4256589 ClassLoader.getPackage and Package.get* methods do not work correctly?
- Closed