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

Looks good.  I wonder if @johanvos should also take a look at this change, just 
in case.

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

Marked as reviewed by angorya (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/2190#pullrequestreview-4507400539

Reply via email to