--- old/src/java.desktop/share/native/libsplashscreen/splashscreen_impl.c 2018-03-23 14:24:37.293157875 +0100 +++ new/src/java.desktop/share/native/libsplashscreen/splashscreen_impl.c 2018-03-23 14:24:37.053157877 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -46,7 +46,7 @@ return &splash; } -SPLASHEXPORT void +JNIEXPORT void JNICALL SplashSetFileJarName(const char* fileName, const char* jarName) { Splash *splash = SplashGetInstance(); @@ -57,7 +57,7 @@ splash->jarName = SplashConvertStringAlloc(jarName, &splash->jarNameLen); } -SPLASHEXPORT void +JNIEXPORT void JNICALL SplashInit() { Splash *splash = SplashGetInstance(); @@ -70,7 +70,7 @@ SplashInitPlatform(splash); } -SPLASHEXPORT void +JNIEXPORT void JNICALL SplashClose() { Splash *splash = SplashGetInstance(); @@ -107,7 +107,7 @@ SplashSetFileJarName(NULL, NULL); } -SPLASHEXPORT void +JNIEXPORT void JNICALL SplashSetScaleFactor(float scaleFactor) { Splash *splash = SplashGetInstance(); @@ -302,7 +302,7 @@ return success; } -SPLASHEXPORT int +JNIEXPORT int JNICALL SplashLoadFile(const char *filename) { SplashStream stream; @@ -310,7 +310,7 @@ SplashLoadStream(&stream); } -SPLASHEXPORT int +JNIEXPORT int JNICALL SplashLoadMemory(void *data, int size) { SplashStream stream; @@ -395,7 +395,7 @@ return 1; } -SPLASHEXPORT int +JNIEXPORT int JNICALL SplashGetScaledImgNameMaxPstfixLen(const char *fileName){ return strlen(fileName) + strlen("@100pct") + 1; }