[jdk18] RFR: 8278907: JPackage test - SigningPackageTest is failed with runtime exception

Alexander Matveev almatvee at openjdk.java.net
Fri Dec 17 03:34:50 UTC 2021


This is regression from JDK-8263155. MacHelper.java is now calling test verification callback with all content in DMG root. SigningPackageTest expects only path with app name in it and thus it fails when trying to verify app inside ".background" folder. Fixed by checking that provided path for verification is actually an application we expecting. All other paths are ignored.

-------------

Commit messages:
 - 8278907: JPackage test - SigningPackageTest is failed with runtime exception

Changes: https://git.openjdk.java.net/jdk18/pull/42/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18&pr=42&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278907
  Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk18/pull/42.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18 pull/42/head:pull/42

PR: https://git.openjdk.java.net/jdk18/pull/42


More information about the core-libs-dev mailing list