State of Reflection.getCallerClass replacement in Java 8

Nick Williams nicholas+openjdk at nicholaswilliams.net
Fri Aug 30 14:56:28 UTC 2013


On Aug 30, 2013, at 9:12 AM, Alan Bateman wrote:

> On 30/08/2013 15:01, Jörn Huxhorn wrote:
>> Has there been a decision about a replacement for Reflection.getCallerClass in Java 8?
>> 
>> The last info I know of is that it will be reactivated in j7u40 but will be gone in j8.
>> 
>> There has also been some discussion about doing a proper public API since all alternatives are way slower.
>> 
>> The latest mail I'm aware of is http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019488.html
>> 
>> What's the state of this discussion?
>> 
> You are on the right list. Mandy Chung is planning to re-start the discussion with a proposal very soon.

And I have a patch that I will be proposing over the weekend.

Nick


More information about the core-libs-dev mailing list