文本文件  |  59行  |  1.63 KB

Setting SecurityManager.
checkPermission: (java.security.SecurityPermission getProperty.package.access)
checkPackageAccess: java.lang
Running tests.

getFields A
checkMemberAccess: other.Blort, PUBLIC
getFields B
checkMemberAccess: other.Blort, PUBLIC
java.lang.SecurityException: Denied!

getDeclaredFields A
checkMemberAccess: other.Blort, DECLARED
checkPermission: (java.lang.RuntimePermission accessDeclaredMembers)
getDeclaredFields B
checkMemberAccess: other.Blort, DECLARED
java.lang.SecurityException: Denied!

getMethods A
checkMemberAccess: other.Blort, PUBLIC
getMethods B
checkMemberAccess: other.Blort, PUBLIC
java.lang.SecurityException: Denied!

getDeclaredMethods A
checkMemberAccess: other.Blort, DECLARED
checkPermission: (java.lang.RuntimePermission accessDeclaredMembers)
getDeclaredMethods B
checkMemberAccess: other.Blort, DECLARED
java.lang.SecurityException: Denied!

getConstructors A
checkMemberAccess: other.Blort, PUBLIC
getConstructors B
checkMemberAccess: other.Blort, PUBLIC
java.lang.SecurityException: Denied!

getDeclaredConstructors A
checkMemberAccess: other.Blort, DECLARED
checkPermission: (java.lang.RuntimePermission accessDeclaredMembers)
getDeclaredConstructors B
checkMemberAccess: other.Blort, DECLARED
java.lang.SecurityException: Denied!

getClasses A
checkMemberAccess: other.Blort, PUBLIC
getClasses B
checkMemberAccess: other.Blort, PUBLIC
java.lang.SecurityException: Denied!

getDeclaredClasses A
checkMemberAccess: other.Blort, DECLARED
checkPermission: (java.lang.RuntimePermission accessDeclaredMembers)
getDeclaredClasses B
checkMemberAccess: other.Blort, DECLARED
java.lang.SecurityException: Denied!

Done!