RFR: 8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set [v2]

Phil Race prr at openjdk.org
Tue Jan 17 19:47:12 UTC 2023


On Tue, 17 Jan 2023 17:01:48 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.
>
> Rajat Mahajan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated copyright year

Can you explain why you think this change is needed if its already set ?
And additionally, you describe what happens with explicit setting of the property (when the manifest is disabled) but don't say which is the default.

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

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



More information about the client-libs-dev mailing list