RFR: 8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set
Rajat Mahajan
duke at openjdk.org
Fri Jan 13 21:01:54 UTC 2023
I tested by removing dpi-awareness settings from the manifest file, and then running my app with -Dsun.java2d.dpiaware=false. This showed java.exe as "Unaware" in task-manager, and with it set to true I saw "Per-Monitor (v2)" dpi awareness for java.exe.
-------------
Commit messages:
- 8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set
Changes: https://git.openjdk.org/jdk/pull/11998/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11998&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8286581
Stats: 14 lines in 1 file changed: 3 ins; 2 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/11998.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11998/head:pull/11998
PR: https://git.openjdk.org/jdk/pull/11998
More information about the client-libs-dev
mailing list