8199627: Use "Per-Monitor V2" High DPI awareness for Windows 10 v1703
Reviewed-by: serb, prr
--- a/src/java.base/windows/native/launcher/java.manifest Thu Apr 12 14:03:54 2018 +0100
+++ b/src/java.base/windows/native/launcher/java.manifest Thu Apr 12 14:11:42 2018 +0100
@@ -36,8 +36,10 @@
<!-- Indicate JDK is high-dpi aware. -->
<asmv3:application>
- <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
- <dpiAware>true/PM</dpiAware>
+ <asmv3:windowsSettings xmlns:dpi1="http://schemas.microsoft.com/SMI/2005/WindowsSettings"
+ xmlns:dpi2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
+ <dpi1:dpiAware>true/PM</dpi1:dpiAware>
+ <dpi2:dpiAwareness>PerMonitorV2, PerMonitor, system</dpi2:dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>