Re: State of Reflection.getCallerClass replacement in Java 8

Jörn Huxhorn jhuxhorn at googlemail.com
Fri Aug 30 17:56:58 UTC 2013


On 30. August 2013 at 16:56:31, Nick Williams (nicholas+openjdk at nicholaswilliams.net) wrote:

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
Ah, nice. Thanks. :)

Just wanted to make sure that something is still going on. A j8 without a good solution would be a nightmare…



Jörn



More information about the core-libs-dev mailing list