Question about IcedTea6 1.9.7 + Webstart (NetX) + OSGI
Adalbert Prokop
adalbert.prokop at gmx.de
Mon Apr 4 00:53:31 PDT 2011
Hello!
I've got a problem (and possibly a bug to report) with IcedTea6 1.9.7
using Webstart (NetX) and OSGI.
Basically, calling BasicService.getCodeBase() always returns null if a
webstart application uses OSGI.
Sun/Oracle's implementation behaves differently, they return the code
base as defined in the JNLP file.
I suspect the problem in the JNLPSecurityManager.
getApplication(Class[], int). The code iterates over all classes on the
stack, retrieving their class loaders and checking their types. But in
case of OSGI the method getClassLoader() will return null.
I've created a small OSGI App to demostrate this problem, the Eclipse
projects are attached in this mail.
Is this worth a bug entry?
--
Best wishes,
Adalbert Prokop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy.tar.gz
Type: application/gzip
Size: 5000 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110404/f5299592/dummy.tar.gz
More information about the distro-pkg-dev
mailing list