On Wednesday 16 November 2005 12:56, Gary Benson wrote: > Where "domain" is a java.security.ProtectionDomain, whose toString() > method calls System.getProperty("line.separator"). If your security > policy denies read access to that system property then it's going to > end up trying to throw the same AccessControlException and failing to > access line.separator again, ad infinitum (until you run out of > stack).
I'd say that the toString should never throw that exception (the spec does not do that either). So either catch it in the toString or default to '\n' -- Thomas Zander
pgpW5Dc7wzYlQ.pgp
Description: PGP signature
_______________________________________________ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath