JDK-7186032 : javax.jnlp.FileSaveService have Open Dialog appearance.
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u4,7u6,7u9,7u10,7u13,8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,linux_ubuntu,os_x
  • CPU: generic,x86
  • Submitted: 2012-07-23
  • Updated: 2013-09-12
  • Resolved: 2012-08-03
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.
JDK 7 JDK 8
7u21Fixed 8 b49Fixed
Description
TCK_jnlp api/javax_jnlp/FileSaveService/index.html#interactive test works strangely.

This tests checks that FileSaveService service allows the user to save a file to the
local file system for applications that are running in the untrusted execution environment. This service provides similar functionality as the Save
as... functionality provided by most browsers.

The service works, files are saved as expected, but the dialog shown - is "Open" dialog.
But this dialog works as "Save" dialog.

See more in comments.

Comments
solaris10-x86 with 7u10b16(32bit) it has same issue.
16-11-2012

EVALUATION This is a bug in FileSaveService implementation. To fix it we need to display dialog using JFileChooser.showDialog() (not showOpenDialog).
24-07-2012