update from Atlas

This commit is contained in:
Luciano Ramalho
2015-04-02 10:34:57 -03:00
parent 573e1a94c4
commit cf96836b60
28 changed files with 8 additions and 59 deletions

View File

@@ -0,0 +1,17 @@
"""
In the Jython registry file there is this line:
python.security.respectJavaAccessibility = true
Set this to false and Jython provides access to non-public
fields, methods, and constructors of Java objects.
"""
import Confidential
message = Confidential('top secret text')
for name in dir(message):
attr = getattr(message, name)
if not callable(attr): # non-methods only
print name + '\t=', attr