Why are public static final array a security hole?

Posted by kunjaan on Stack Overflow See other posts from Stack Overflow or by kunjaan
Published on 2010-05-16T00:12:18Z Indexed on 2010/05/16 0:20 UTC
Read the original article Hit count: 597

Filed under:
|

Effective java says:

// Potential security hole! public

static final Thing[] VALUES = { ... };

Can somebody tell me what is the security hole?

© Stack Overflow or respective owner

Related posts about java

Related posts about effective-java