[rfc][icedtea-web] prevent CCE from plugin appeltviewer
Jie Kang
jkang at redhat.com
Thu Jul 31 13:36:48 UTC 2014
>
>
> ok for head and 1.5 ?
>
>
> J.
>
Hello,
Good catch!
I think now that we check for CCE, we should output something to let us know that the CCE occurred since behaviour is affected.
Also for the following code:
+ if (panel.getAppletClassLoader() instanceof JNLPClassLoader) {
+ JNLPClassLoader loader = (JNLPClassLoader) panel.getAppletClassLoader();
- URL localURL = null;
- if (loader.resourceAvailableLocally(resourceName)) {
- url = loader.getResource(resourceName);
+ URL localURL = null;
+ if (loader.resourceAvailableLocally(resourceName)) {
+ url = loader.getResource(resourceName);
+ }
+
+ url = localURL != null ? localURL : url;
}
-
- url = localURL != null ? localURL : url;
I think that the behaviour of the function changed a little. If a CCE occurs, the AppletImageRef returned is that of url that includes codebase. Is this valid? I think if CCE occurs then we should return null.
Regards,
--
Jie Kang
More information about the distro-pkg-dev
mailing list