[rfc][icedtea-web] Ignore invalid .jar files specified for plugin
Adam Domurad
adomurad at redhat.com
Fri May 25 12:17:48 PDT 2012
So, first patch that isn't something trivial, I'll definitely need
people to weigh in on this one.
The proprietary plug-in seems to just skip over any malformed .jar files
and carry on loading. This patch emulates that behaviour.
This alleviates some of the symptoms of
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1011
However, the plugin should still parse folders differently and look for
resources in folders like the proprietary plug-in does.
ChangeLog:
2012-05-25 Adam Domurad <adomurad at redhat.com>
Ignore invalid jar files, like the oracle plugin does.
* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: Added extra
possible verification result, INVALID_JAR. This value occurs if the
.jar file could not be properly loaded. The .jar file is then ignored.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore-invalid-jars.patch
Type: text/x-patch
Size: 4634 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120525/6ba98cdf/ignore-invalid-jars.patch
More information about the distro-pkg-dev
mailing list