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

Legacy sample jar fails in launch

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:

      Description


      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 {

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: