Ignore:
Timestamp:
2024-06-17T21:36:37+02:00 (17 months ago)
Author:
taylor.smock
Message:

See #17858: Remove old workarounds for javabugs and update Utils#getLatestVersion

  • JDK-8180379: Fixed in Java 9+
  • JDK-8251377: Fixed in Java 11.0.14 (2021-09-02)
  • JDK-8262085: Fixed in Java 11.0.17 (2022-07-19)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTestIT.java

    r18893 r19109  
    247247        }
    248248
    249         // On Java < 11 and headless mode, filter plugins requiring JavaFX as Monocle is not available
    250         int javaVersion = Utils.getJavaVersion();
    251         if (GraphicsEnvironment.isHeadless() && javaVersion < 11) {
    252             for (Iterator<PluginInformation> it = plugins.iterator(); it.hasNext();) {
    253                 PluginInformation pi = it.next();
    254                 if (pi.getRequiredPlugins().contains("javafx")) {
    255                     System.out.println("Ignoring " + pi.name + " (requiring JavaFX and we're using Java < 11 in headless mode)");
    256                     it.remove();
    257                 }
    258             }
    259         }
    260 
    261249        // Skip unofficial plugins in headless mode, too much work for us for little added-value
    262250        if (GraphicsEnvironment.isHeadless()) {
Note: See TracChangeset for help on using the changeset viewer.