Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8074579

Use more efficient and readable way of checking PKZIP signatures

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • 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/

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

                Created:
                Updated:
                Resolved: