[Bug 1094] icedtea-web does not work with Schwab's StreetSmart applet

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Jul 30 12:08:36 PDT 2012


--- Comment #7 from Deepak Bhole <dbhole at redhat.com> ---
(In reply to comment #6)
> Hmm, what if instead of throwing an exception, you just did nothing and
> returned OK? Maybe that's a terrible idea...

That wouldn't work unfortunately. The way the checkPermission() method works is
that if the caller is permitted to do what it is asking, checkPermission()
returns, and if not, it throws an exception. 

Thus making checkPermission() return without throwing an exception would be the
same as giving the caller permission to change the manager.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120730/b236a5c4/attachment.html 

More information about the distro-pkg-dev mailing list