Integrated: 8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set

Rajat Mahajan duke at openjdk.org
Wed Jan 18 18:07:23 UTC 2023


On Fri, 13 Jan 2023 20:53:31 GMT, Rajat Mahajan <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 2a46e07f
Author:    Rajat Mahajan <rajat.m.mahajan at oracle.com>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2a46e07f7d85a3c7db93b53b5c347cd96a91cbb9
Stats:     15 lines in 1 file changed: 3 ins; 2 del; 10 mod

8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set

Reviewed-by: aivanov, prr

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

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



More information about the client-libs-dev mailing list