#57 Class XmlHelper is not compatible with webstart environment

Bug
open
nobody
5
2010-02-10
2010-02-10
Anonymous
No

The class XmlHelper is not compatible with the webstart environment. There is referred a JRE system classloader instead of current classoader assigned to the class. The proposed correction does not affect non-webstart applications. See the code snippet below:

public void checkAndCreateTempDtd() {
is = ClassLoader.getSystemClassLoader().getResourceAsStream( dtdJarFullFileName );
}

should be:
is = getClass().getClassLoader().getResourceAsStream( dtdJarFullFileName );

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks