RFR: JDK-8242302 : Refactor jpackage native code
Alexey Semenyuk
alexey.semenyuk at oracle.com
Wed Apr 15 20:13:47 UTC 2020
Please review fix [2] for jpackage bug [1].
Refactor jpackage native 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.
- Remove unused code.
- Alexey
[1] https://bugs.openjdk.java.net/browse/JDK-8242302
[2] http://cr.openjdk.java.net/~asemenyuk/8242302/webrev.00
More information about the core-libs-dev
mailing list