JDK-7166603 : Web Start launcher throws ClassCastException exception
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7,7u6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_7
  • CPU: generic,x86
  • Submitted: 2012-05-04
  • Updated: 2013-12-02
  • Resolved: 2012-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u6Fixed 8 b39Fixed
Related Reports
Duplicate :  
Relates :  
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

Verified with jre8-b118 on win7/x86: test still failed. See new bug https://bugs.openjdk.java.net/browse/JDK-8000104

regression_test_src: http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/8/deployment2/file/0d3199b92b11/new_framework/tests/javaws/batJavaws/src/BatJavawsTest.java

EVALUATION simple regression