United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7166603 : Web Start launcher throws ClassCastException exception

Details
Type:
Bug
Submit Date:
2012-05-04
Status:
Closed
Updated Date:
2013-12-02
Project Name:
JDK
Resolved Date:
2012-05-16
Component:
deploy
OS:
generic,windows_7
Sub-Component:
webstart
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7,7u6
Fixed Versions:

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

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
EVALUATION

simple regression
                                     
2012-05-08
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
Verified with jre8-b118 on win7/x86: test still failed. See new bug https://bugs.openjdk.java.net/browse/JDK-8000104
                                     
2013-12-02



Hardware and Software, Engineered to Work Together