diff options
author | Sven Gothel <[email protected]> | 2019-08-19 12:29:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-19 12:29:48 +0200 |
commit | c7858dc766cb9f76ac8f543796b1587a0f8f9279 (patch) | |
tree | 690c27a21bd82f2ed9424fcbf1fe35d8c71508d5 /www | |
parent | 13c6bbbde5ea476d60e0a2f04a5172d3302d0edd (diff) |
Bug 1363: Java 11: Don't use GraphicsDevice.getScaleFactor() on Java9+ [illegal reflective access]
Use non-reflective method to get the pixel scale on Java9+
It's now possible to use GraphicsConfiguration.getDefaultTransform()
instead of using reflection to get the pixel scale, which eliminates an
illegal reflective access warning.
Orig patch by Wade Walker
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions