Behaviour of javaws when handling spaces.
jvanek at redhat.com
Thu Oct 27 06:57:01 PDT 2011
I'm trying to provide test to latest Omair's patch to PR804.
Patch itself is not ready (I'm posting it just for clarifications), because I hesitated how javaws should handle "Spaced" files.
Omair's patch fixed state, when locally lunched file with spaces was handled incorrectly. But question is, how is this file obtained from server? I believe that in URL which downloads this file should (eg) spaces replaced by %20 (and so on), but file should be saved (eg into cache or for next usage) correctly. If So, how the hrefs inside jnlp should be written? With spaces or with "%20"? If there are Spaces then it is working on local lunching, and %20 are working on remote lunching, but not vice versa.
In my reproducer all those cases are covered (local x remote and jnlp with spaces x jar with spaces). But all of the cases except one (jnlp with spaces, jar without spaces) are failing.
Some changes to engine were necessary - handling of spaces in makefile, and correct(?) translating URI <-> String insinde tiny http server.
Any remarks tto patch and to correct space handling welcomed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 27425 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111027/12894b0f/spacesReproducersAndChangesToReproducersEngine.diff
More information about the distro-pkg-dev