JNLP Extensions and Resource Loading

I’m writing this 2D game library which I’d like to provide as an JNLP extension. Inside one of the JARs for the extension there’s a bitmap font which is used as the default. However, when I try to access this font from a webstart using the extension the bitmap font resource can’t be looked up from the class loader. I just get a null as though the resource doesn’t exist.

Anyone else experienced this and/or knows a work around?

Kev

Resolved, discovered that it needs to be a doPriviledged action to use the class loader of the extension from the extension’s context. How convuluted :slight_smile:

Kev