Question about IcedTea6 1.9.7 + Webstart (NetX) + OSGI

Andrew Haley aph at redhat.com
Wed Apr 6 01:40:54 PDT 2011


On 06/04/11 08:06, Adalbert Prokop wrote:
> 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 method 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.
> 
> Is this worth a bug entry?

Yes.  Please make sure the bug report contains a full test case.

Andrew.



More information about the distro-pkg-dev mailing list