Replacement of sun.reflect.Reflection#getCallerClass

Jochen Theodorou blackdrag at gmx.org
Tue Sep 3 17:21:12 UTC 2013


Am 03.09.2013 11:04, schrieb Remi Forax:
[...]
> So there is a need for an API to get the caller classes which is not
> getCallerClass (or any methods in a package sun.*) that will hide you
> the method handle API impementation and allow you choose to filter
> caller methods using a user defined API.

not sure how filtering the caller methods would work (by annotation 
check?), but it is probably good enough for us, yes. In the end we need 
the class loader

bye Jochen

-- 
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org




More information about the core-libs-dev mailing list