Classes on the stack trace
Nick Williams
nicholas+openjdk at nicholaswilliams.net
Thu Aug 1 13:58:51 UTC 2013
On Aug 1, 2013, at 8:01 AM, Dalibor Topic wrote:
> On 7/30/13 2:01 PM, Jörn Huxhorn wrote:
>> See http://code.ohloh.net/search?s=Reflection.getCallerClass for a rough estimate about the impact of this change.
>
> Eh, no. Try
> http://code.ohloh.net/search?s=%22Reflection.getCallerClass%28%22&pp=0&fl=Java&ff=1&mp=1&ml=1&me=1&md=1&filterChecked=true
> instead.
I think the number is probably somewhere in between these two (I'm not sure where). Dalibor's filter appears to exclude uses via reflection (Class.forName("sun.reflect.Reflection"), c.getMethod("getCallerClass")).
Nick
More information about the core-libs-dev
mailing list