Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261668

JavaFX apps don't run anymore with JavaFX 16-ea+7 without JPMS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: openjfx16
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None

      Description

      All my JavaFX apps don't run anymore with JavaFX 16-ea+7 when started like this:
      class MyAppLauncher {public static void main(String[] args) {MyApp.main(args);}}
      where MyApp extends Application. This avoids using the JPMS and has worked always up to now.

      All I get is this warning: 2021-02-12 18:30:31 [WARNING][com.sun.javafx.application.PlatformImpl startup] Unsupported JavaFX configuration: classes were loaded from 'unnamed module @2c4231'

      and then there is silence. The app just hangs and does not show any GUI.
      I know that such a warning was going to be introduced but up to now my understanding was that this is just that - a warning.

      This was tested on macOS 10.15.7 starting several apps from within Eclipse and as a standalone packaged application.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              mpaus Michael Paus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: