<html>
<head>
<base href="http://icedtea.classpath.org/bugzilla/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - IcedTea-Web crashes on Dell EqualLogic SAN"
href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2968#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - IcedTea-Web crashes on Dell EqualLogic SAN"
href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2968">bug 2968</a>
from <span class="vcard"><a class="email" href="mailto:jvanek@redhat.com" title="JiriVanek <jvanek@redhat.com>"> <span class="fn">JiriVanek</span></a>
</span></b>
<pre>hmm... I'm not able to find how to safely fix it in ITW.
Maybe dell canhelp?
The patch to Dell EquaLogic of:
private void readWrappers(String string) throws InstantiationException,
IllegalAccessException, ClassNotFoundException, IOException {
- ClassLoader classLoader =
Thread.currentThread().getContextClassLoader();
+ ClassLoader classLoader = this.getClass().getClassLoader();
InputStream inputStream = classLoader.getResourceAsStream(string);
try {
to WrapperActionHandler.java should fix the issue.
However I do not claim ITW is not to blame.
>From various classlaoder accesses, getResourceAsStream :
Thread.currentThread().getContextClassLoader();
- ITW: pass in javaws app, fails in applet
- Oracle: pass in javaws app, pass in applet
SomeClass.class.getClassLoader();
- ITW: pass for both
- Oracle: pass in javaws app, pass in applet
ClassLoader.getSystemClassLoader();
- for both Oracle and ITW fails in both
this.getClass().getClassLoader();
- for both Oracle and ITW pass for both</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>