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

Legacy sample jar fails in launch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • javafx


      java -jar StopWatch.jar
      Exception while launching application

      This message is coming from
      com/sun/javafx/application/LauncherImpl.java

      diff -r fe8c135c7f99 modules/graphics/src/main/java/com/sun/javafx/application/LauncherImpl.java
      --- a/modules/graphics/src/main/java/com/sun/javafx/application/LauncherImpl.java Thu Apr 28 08:57:07 2016 -0400
      +++ b/modules/graphics/src/main/java/com/sun/javafx/application/LauncherImpl.java Thu Apr 28 18:06:39 2016 -0400
      @@ -325,6 +325,7 @@
                       Thread.currentThread().setContextClassLoader(appLoader);
                       lawa.invoke(null, new Object[] {mainClassName, preloaderClassName, appArgs});
                   } catch (Exception e) {
      + e.printStackTrace();
                       abort(e, "Exception while launching application");
                   }
               } else {

            kcr Kevin Rushforth
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: