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

Improve negative tests coverage for jpackage signing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • tools
    • b20
    • generic
    • os_x

      Add tests to cover the case when jpackage can not find the specified signing identity. It throws exceptions composed from "error.explicit-sign-no-cert" string ID, see [1] and [2].

      This is a follow-up to the JDK-8354990 task, aiming to complete the negative test coverage for signing in jpackage.

      [1] https://github.com/openjdk/jdk/blob/d61765f64d6361b6e71c6f783c8c5a127b1ac745/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppBundler.java#L145
      [2] https://github.com/openjdk/jdk/blob/d61765f64d6361b6e71c6f783c8c5a127b1ac745/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java#L731

            asemenyuk Alexey Semenyuk
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: