JDK-8229750 : Fix bad merge of JDK-8215447 patch
  • Type: Bug
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-08-14
  • Updated: 2019-08-16
  • Resolved: 2019-08-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Relates :  
Description
After merging a fix to JDK-8215447 with the fix to JDK-8229138 all the linux rpm tests are broken.
Comments
Review: http://cr.openjdk.java.net/~asemenyuk/8229750/webrev.00
14-08-2019

Suggested fix: --- diff -r d462d0422e1d src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.spec --- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.spec Wed Aug 14 08:23:16 2019 -0400 +++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.spec Wed Aug 14 14:22:51 2019 -0400 @@ -36,7 +36,7 @@ %endif %files -+%{?license_install_file:%license %{license_install_file}} +%{?license_install_file:%license %{license_install_file}} INSTALLATION_DIRECTORY/APPLICATION_FS_NAME %post ---
14-08-2019

The problem is with extra "+" inserted in front of "%{?license_install_file:%license %{license_install_file}}" line in src\jdk.jpackage\linux\classes\jdk\jpackage\internal\resources\template.spec.
14-08-2019