This post originated from an RSS feed registered with Java Buzz
by Michael Cote.
Original Post: ProtectionDomains
Feed Title: Cote's Weblog: Coding, Austin, etc.
Feed URL: https://cote.io/feed/
Feed Description: Using Java to get to the ideal state.
Here's a little tip for you: don't use ProtectionDomain's toString() while in a Policy. There's security checks that go in toString() there, so you'll get stuck in a recursion if you're not careful. And, as one of my rules of thumb goes, "be careful to avoid doing things where you have to be careful."
That might get you into some recursive problems too, just hit that Ctrl-C 'till it stops.