[Bug 3490] New: JNLPClassLoader adds Jars from ProtectionDomains

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 3490] New: JNLPClassLoader adds Jars from ProtectionDomains

bugzilla-daemon
Bug ID 3490
Summary JNLPClassLoader adds Jars from ProtectionDomains
Product IcedTea-Web
Version unspecified
Hardware x86_64
OS Linux
Status NEW
Severity normal
Priority P5
Component NetX (javaws)
Assignee jvanek@redhat.com
Reporter icedtea@white-hawk.de
CC unassigned@icedtea.classpath.org

Our web starter loads its initial resources from a single jar. Additional
resources are being fetched with a URLClassLoader which uses
AccessController.doPrivileged in its findClass method. This adds another
ProtectionDomain to the AccessControlContext retrieved by
AccessController.getStackAccessControlContext().

The problem is that this ProtectionDomain is used to add new Jars to the
JNLPClassLoader in getAccessControlContextForClassLoading(). Thus we have the
issue of some classes being loaded by our URLClassLoader and some by the
JNLPClassLoader, making them incompatible.

This does not occur when using the JNLPClassLoader of the Oracle JDK, the
classpath is not changed here.


You are receiving this mail because:
  • You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 3490] JNLPClassLoader adds Jars from ProtectionDomains

bugzilla-daemon
[hidden email] changed bug 3490
What Removed Added
Version unspecified 1.7


You are receiving this mail because:
  • You are on the CC list for the bug.