RFR: JDK-8258755: jpackage: Invalid 32-bit exe when building app-image

Andy Herrick herrick at openjdk.java.net
Wed Jan 13 16:51:18 UTC 2021


On Tue, 12 Jan 2021 22:38:38 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

>> JDK-8258755: jpackage: Invalid 32-bit exe when building app-image
>
> src/jdk.jpackage/share/native/applauncher/JvmLauncher.cpp line 37:
> 
>> 35: 
>> 36: #if defined(_WIN32) && !defined(_WIN64)
>> 37: #define LAUNCH_FUNC "_JLI_Launch at 56"
> 
> Why JLI_Launch does not work for 32-bit? Do you know why @56 is being used?

not so much that is doesn't work, but that it doesn't exist,
The 32 bit version of jli.dll does not have a "JLI_LAUNCH" entry point, but does have a "_JLI_Launch at 56" which works perfectly well.

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

PR: https://git.openjdk.java.net/jdk/pull/2030


More information about the core-libs-dev mailing list