javassist icon indicating copy to clipboard operation
javassist copied to clipboard

How to config policy when SECURITY MANAGER enable?

Open snoopyhzy opened this issue 4 years ago • 1 comments

when running junky testcases with powermock in Jenkins slave, I use java security manager to deny someone high risk operation . But I try all permissions unless java.security.AllPermission. The unit test failed with the error [source error] no such class Object.

Who can help me. Thanks

snoopyhzy avatar Mar 24 '20 11:03 snoopyhzy

solved http://www.docjar.com/html/api/sun/security/util/Debug.java.html

java.security.debug=access can find that javassist catch

snoopyhzy avatar Mar 25 '20 14:03 snoopyhzy