Hi,
I'm sending out this RFR for this bug:
https://bugs.openjdk.java.net/browse/JDK-8224056
Patch is inline below.
Testing done: make, make images, make bundles with both /permissive- (passed
--with-extra-cxxflags to configure) and without
Thanks,
-Andrew
diff --git
a/src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp
b/src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp
---
a/src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp
+++
b/src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp
@@ -357,7 +357,7 @@
} DS_Info;
-LPSTR TranslateDSError(HRESULT hr) {
+LPCSTR TranslateDSError(HRESULT hr) {
switch(hr) {
case DSERR_ALLOCATED:
return "DSERR_ALLOCATED";