JDK-8229157 : Attempts to do the Mac Notarization process is failing due to embedded JRE files
  • Type: Bug
  • Component: deploy
  • Sub-Component: packager
  • Affected Version: 8u212
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2019-08-02
  • Updated: 2019-08-06
  • Resolved: 2019-08-06
Related Reports
Duplicate :  
Description
ADDITIONAL SYSTEM INFORMATION :
Mac OS 10.14.5

A DESCRIPTION OF THE PROBLEM :
We embed JRE version :1.8.0_202 in our Mac application that uses Java and JavaFX.
We submitted the application for Mac App Notarization and received failures related to the Embedded JRE files (exe launcher and dylib files)

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Submitted our application's DMG through the Mac Notarization Process and received error report from Apple.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Successful Notarization result from Apple with Certificate that can be stapled to our dmg
ACTUAL -
Errors were related to JRE files (exe and dylibs) and included errors such as:
The signature algorithm used is too weak
The executable does not have the hardened runtime enabled
The binary uses an SDK older than the 10.9 SDK

CUSTOMER SUBMITTED WORKAROUND :
No known workaround


Comments
JDK-8223671 is already tracking the issue of notarizing the JDK for use with macOS 10.15 (Catalina). Closing as a duplicate.
06-08-2019

Submitter conveyed that submission of application's DMG through the Mac Notarization Process failed with an error report from Apple. Not sure if this is a Java issue as there is not enough information/log to confirm the same.
06-08-2019