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

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

Commit messages:
 - 8386698: PlatformUtil has unused fields and methods

Changes: https://git.openjdk.org/jfx/pull/2190/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2190&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386698
  Stats: 69 lines in 1 file changed: 4 ins; 65 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/2190.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2190/head:pull/2190

PR: https://git.openjdk.org/jfx/pull/2190

Reply via email to