RFR: JDK-8217707: JNICALL declaration breaks Splash screen functions
Sergey.Bylokhov at oracle.com
Mon Apr 8 19:16:24 UTC 2019
On 24/03/2019 12:18, Alexey Ivanov wrote:
> Please review the fix for jdk 13.
> bug: https://bugs.openjdk.java.net/browse/JDK-8217707
> webrev: http://cr.openjdk.java.net/~aivanov/8217707/webrev.0/
> Splash screen functionality is broken in 32 bit Windows. It's because the functions in splashscreen.dll are exported with decorated names now, yet they're looked up by the undecorated names.
> The easiest way to reproduce the problem is to run SwingSet2:
> java -jar SwingSet2.jar
> The fix removes JNICALL (__stdcall) declarations from splash screen functions. Thus the functions are exported undecorated.
> I've run SplashScreen jtreg tests, all tests pass.
> This is a follow-up fix to
> which re-enabled 32 bit Windows post removal of mapfiles / compiler options.
> Thank you in advance.
Best regards, Sergey.
More information about the build-dev