The image enumeration code relies on internal behavior of JPCApplication.class.getClassLoader() returning a URLClassLoader.
I've added code which does this in a safer way which doesn't assume that a URLClassLoader is returned, but the current mechanism remains. I recommend testing the new implementation on supported platforms for JPC, and removing the need to cast to URLClassLoader
The image enumeration code relies on internal behavior of
JPCApplication.class.getClassLoader()
returning aURLClassLoader
.I've added code which does this in a safer way which doesn't assume that a
URLClassLoader
is returned, but the current mechanism remains. I recommend testing the new implementation on supported platforms for JPC, and removing the need to cast toURLClassLoader