Hi all,

I've noticed lots of System.getProperty calls in classpath.
These calls can throw security exceptions when a security manager is active.

To avoid this wrap the getProperty call in a PrivilegedAction. I've written
some helper classes to avoid retyping that every time. I'm happy to send
them.

PS. The security manager also causes other issues, but getProperty is most
frequent.

Ewout



_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to