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

Manifest checking throws exception with no entry

    Details

    • Subcomponent:
    • Resolved In Build:
      b159
    • Verification:
      Not verified

      Backports

        Description

        Current code will throw an exception if there is no attribute entry in the manifest, This wasn't obvious in testing because DIGEST-MANIFEST entries are very common. It took JCE provider testing that checked DIGEST-MAIN-ATTRIBUTE entries to show the bug. The fix is simple and silly logic mistake.

          Issue Links

            Activity

            Hide
            ascarpino Anthony Scarpino added a comment -
            Silly mistake that only this test appears to access the certain parts of the SIgnatureFileVerifier code
            Show
            ascarpino Anthony Scarpino added a comment - Silly mistake that only this test appears to access the certain parts of the SIgnatureFileVerifier code
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b2661d26e556
            User: ascarpino
            Date: 2017-02-22 22:13:49 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b2661d26e556 User: ascarpino Date: 2017-02-22 22:13:49 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b2661d26e556
            User: lana
            Date: 2017-03-01 20:17:44 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b2661d26e556 User: lana Date: 2017-03-01 20:17:44 +0000

              People

              • Assignee:
                ascarpino Anthony Scarpino
                Reporter:
                ssahoo Sibabrata Sahoo
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: