From: Finn B. <bc...@us...> - 2001-07-23 15:27:26
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv12662 Added Files: test304.py test304m.py Log Message: Test for feature request [ #428582 ] Access to non-public classes --- NEW FILE --- """ Test that non-public classes gets loaded with dir() when respectJavaAcc is false. Feature request [ #428582 ] Access to non-public classes """ import support support.runJava("org.python.util.jython " + "-Dpython.security.respectJavaAccessibility=false test304m.py") --- NEW FILE --- import support import java.lang d = dir(java.lang) #print d if "FDBigInt" not in d: raise support.TestWarning("Non-public class should by visible when " + "respectJava is false") |