Remove DEF_STATIC_JNI_OnLoad from 
src/java.desktop/linux/native/libjsound/PLATFORM_API_LinuxOS_ALSA_CommonUtils.c.
 src/java.desktop/share/native/libjsound/Platform.c defines 
DEF_STATIC_JNI_OnLoad for libjsound.

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

Commit messages:
 - JDK-8308110: Resolve multiple definition of 'JNI_OnLoad_jsound' linking error

Changes: https://git.openjdk.org/jdk/pull/13994/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13994&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8308110
  Stats: 5 lines in 1 file changed: 0 ins; 5 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13994.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13994/head:pull/13994

PR: https://git.openjdk.org/jdk/pull/13994

Reply via email to