On Tue, 16 Jun 2026 06:14:30 GMT, Marius Hanl <[email protected]> wrote:
> When I did https://github.com/openjdk/jfx/pull/2146, I touched `PlatformUtil` > and saw that some methods and fields are unused and will probably never be > used. > > Example: > - `isWinVistaOrLater()` > - `useGLES2()` > > So I removed them. Also checked that they are not called by native code. > I kept `isHeadless()`, as it was used in a test at one point and might be > needed again at some point. > Moved `isAndroid` right below the other `isXXX` methods. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). The removed fields do not affect the mobile ports. thanks for pinging me. No harm done by removing those fields. ------------- Marked as reviewed by jvos (Reviewer). PR Review: https://git.openjdk.org/jfx/pull/2190#pullrequestreview-4515659290 PR Comment: https://git.openjdk.org/jfx/pull/2190#issuecomment-4730320449
