[Bug 222] javaws says: Changing the SecurityManager is not allowed

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Jun 26 11:13:00 PDT 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=222





------- Comment #1 from jon.vanalten at redhat.com  2009-06-26 18:12 -------
>>>   /usr/bin/javaws -verbose -Djava.security.manager=doesnt.work \
>>>   http://www.topcoder.com/contest/arena/ContestAppletProd.jnlp

You've probably figured this out by now, but it seems to me you're passing the
java.security.manager option incorrectly.  Might want to have a look at:

http://java.sun.com/javase/6/docs/technotes/tools/share/javaws.html

It's the documentation for Sun's proprietary java but openJDK should conform. 
Accordingly you need to pass "-J<option>" instead of "-D<option>"

As far as I can tell javaws from openjdk/icedtea is ignoring invalid parameters
passed.  For example, I can pass "-Djava.security.manager=notavalidfilename"
literally and it happily proceeds as if the parameter is not there (but if I
try to specify the same with the more correct "-J<option>" syntax it naturally
complains).

If you've got other information that indicates an icedtea bug, please respond
(else I'll go ahead and close this bug in a week).


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list