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

Web Start launcher throws ClassCastException exception

XMLWordPrintable

    • b39
    • generic, x86
    • generic, windows_7
    • Fix failed

        I'm trying to run "javaws -open file_name …" and getting an exception:

        java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
        at com.sun.javaws.Launcher.addStringArrays(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:722)

        I haven't seen the problem before and it's reproducible with the latest build only.

        Seems to be a regression of

        changeset:   1520:11b044bb296a
        user:        herrick
        date:        Tue May 01 17:12:40 2012 -0400
        summary:     7132539: Passing parameters to webstar app through DT does not work

              herrick Andy Herrick (Inactive)
              dcherepanov Dmitry Cherepanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: