JDK-8242302 : Refactor jpackage native code
  • Type: Bug
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 14,15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-04-07
  • Updated: 2021-04-10
  • Resolved: 2020-04-23
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.
JDK 15
15 b21Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Need to clean code duplication in jpackage native code. Get rid of dangling not used code.
Improve code reuse between different platforms.
Replace custom string classes with the standard std::basic_string.
Merge functionality of libapplauncher.dll(.so) library with jpackageapplauncher(.exe) binary. There is no point to keep two different executables.
Link jpackageapplauncher.exe with MSVC Run-Time library statically to avoid copying of MSVC Run-Time dlls to app's bin folder.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/83948bd9a69e User: asemenyuk Date: 2020-04-23 21:08:27 +0000
23-04-2020

Review: http://cr.openjdk.java.net/~asemenyuk/8242302/webrev.00
15-04-2020