icedteaweb failing to load resource files

Jiri Vanek jvanek at redhat.com
Thu Mar 12 15:39:03 UTC 2015


On 01/15/2015 12:33 AM, T J wrote:
> In running a javaws application with icedteaweb and openjfx/openjdk, the .css stylesheets in
> jfxrt.jar are not loading, causing the windows to be displayed incorrectly.    I tracked down the
> problem to JNLPClassLoader being created without a parent, causing only the resource files in the
> .jnlp file to be found and not those in jre/lib/ext/*.jar.     This is due in turn to  the
> JNLPClassLoader's constructor, which calls super(new URL[],
> JNLPClassLoader.class.getClassLoader()).     But JNLPClassLoader.class.getClassLoader is ALWAYS
> returning null, causing JNLPClassloader to be created with null parent, as per above.
>
> In the document for Class, it appears that in some implementations if the loader for a class is the
> bootloader, getClassLoader will return null; I assume this may be the problem here.    I don't see
> how this problem has not been noticed before but I can't find anything online about it.
>
> I would like to know if this has been seen elsewhere and if it is being addressed.
>
>
> Thank you,
>
>
HellO!

this had slipped form my radar. Do you have reproducer of this issue which you may share so I can debug?


J.



More information about the distro-pkg-dev mailing list