RFR: JDK-8074579 Use more efficient and readable way of checking PKZIP signatures

Xueming Shen xueming.shen at oracle.com
Fri Mar 6 21:37:36 UTC 2015


On 03/06/2015 12:46 PM, Martin Buchholz wrote:
> Hi jar/zip maintainers,
>
> Here's an easy improvement.
>
> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/PKsig/ <http://cr.openjdk.java.net/%7Emartin/webrevs/openjdk9/PKsig/>
> https://bugs.openjdk.java.net/browse/JDK-8074579
Looks fine, assume the statement of "byte-byte-byte comparing is more efficient" is true
In most cases, the signature comparing is just a "confirm", should not miss though.

-Sherman



More information about the core-libs-dev mailing list