Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
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 Availabitlity Release.

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

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

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
2013-12-02

EVALUATION simple regression
2012-05-08