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 theJDK-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
This is a follow-up to the
[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
- relates to
-
JDK-8354990 Improve negative tests coverage for jpackage signing
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/669d4d6b
-
Review(master) openjdk/jdk/24786