Re: @CallerSensitive in Java SE 7u25

2013-06-25 Thread Mandy Chung
On 6/25/13 3:24 AM, Alan Bateman wrote: On 25/06/2013 11:06, Peter Levart wrote: : It seems that with 7u25 the result is "shifted" for one calling frame. Is that behavior change intentional to encourage people to "get off that wagon"? Right, there is an additional frame that means that get

Re: @CallerSensitive in Java SE 7u25

2013-06-25 Thread Peter Levart
Hi Chris, I see it now, thanks. Regards, Peter On 06/25/2013 12:14 PM, Chris Hegarty wrote: Known issue, Mandy has a fix in progress [1]. -Chris. [1] http://mail.openjdk.java.net/pipermail/jdk7u-dev/2013-June/006791.html On 06/25/2013 11:06 AM, Peter Levart wrote: Hi Mandy, I noticed th

Re: @CallerSensitive in Java SE 7u25

2013-06-25 Thread Alan Bateman
On 25/06/2013 11:06, Peter Levart wrote: : It seems that with 7u25 the result is "shifted" for one calling frame. Is that behavior change intentional to encourage people to "get off that wagon"? Right, there is an additional frame that means that getClassClass is out by one. This change wa

Re: @CallerSensitive in Java SE 7u25

2013-06-25 Thread Chris Hegarty
Known issue, Mandy has a fix in progress [1]. -Chris. [1] http://mail.openjdk.java.net/pipermail/jdk7u-dev/2013-June/006791.html On 06/25/2013 11:06 AM, Peter Levart wrote: Hi Mandy, I noticed the @CallerSensitive annotation and machinery behind it has been back-ported to JDK7. That was when

@CallerSensitive in Java SE 7u25

2013-06-25 Thread Peter Levart
Hi Mandy, I noticed the @CallerSensitive annotation and machinery behind it has been back-ported to JDK7. That was when one of my apps using sun.reflect.Reflection.getCallerClass(int) failed. The native method taking "int" was deprecated, but it also changed the behavior. If I run the followi