]> source.dussan.org Git - javassist.git/commit
Add caller class checking.
authornickl- <github@jigsoft.co.za>
Fri, 27 Oct 2017 05:55:08 +0000 (07:55 +0200)
committernickl- <github@jigsoft.co.za>
Sun, 12 Nov 2017 21:49:21 +0000 (23:49 +0200)
commit4e81640868096321627deb064b3f63e48c9a9705
tree63accf921af551eece5d2e128e7dad021970fc71
parent7d5eb53d1241ca8bdd4624a9f5a61834bf4dc053
Add caller class checking.

The only thing remotely inforceable is caller class checking. You cannot
bypass an exception with setAccesible. Oracle went and removed
Reflection.getCallerClass() completely in favour of StackWalker. At least
we can share the SecurityManage ClassContext, SecurityActions seems the
appropriate venue for our stack trace peek to support the older versions
src/main/javassist/util/proxy/DefineClassHelper.java
src/main/javassist/util/proxy/SecurityActions.java