Use more efficient and readable way of checking PKZIP signatures

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs

        We are currently checking PK signatures by inefficiently reading into a 32-bit int and then comparing.
        Instead, comparing byte-by-byte is more efficient (and readable), especially when there is a miss.
        http://cr.openjdk.java.net/~martin/webrevs/openjdk9/PKsig/

              Assignee:
              Martin Buchholz
              Reporter:
              Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: