[icedta-web] Question about new parser

Jiri Vanek jvanek at redhat.com
Thu Nov 20 10:30:42 UTC 2014


at first - thank you for it. Various playing with it were really cool and everything is working 
better then expected!

Second - I have just noted this behavior:

      javaws  about
prints out :
JNLP file location: about
call privileged method: getCodeBase
         result: null
java.net.MalformedURLException: no protocol: about

Afaik it is incorrect as about isknown switch


      javaws  -about
*works* surprisingly as expected

on contrary, eg:
     javaws  Xoffline
JNLP file location: Xoffline
call privileged method: getCodeBase
         result: null
java.net.MalformedURLException: no protocol: Xoffline

Ahve same wrong result

*but*
     javaws  -Xoffline
result into:
JNLP file location: -Xoffline
call privileged method: getCodeBase
         result: null
java.net.MalformedURLException: no protocol: -Xoffline
	at java.net.URL.<init>(URL.java:586)
	at java.net.URL.<init>(URL.java:483)

Again.


So I think there is somewhere hidden bug....


J.


More information about the distro-pkg-dev mailing list