Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-08 Thread Mandy Chung
> On Feb 8, 2017, at 8:17 AM, Daniel Fuchs wrote: > > > I have made this change in my workspace: > http://cr.openjdk.java.net/~dfuchs/webrev_8173898/webrev.05/ > >/** > * Shows all reflection frames. > * > * By default, reflection frames are hidden. A {@code St

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-08 Thread Daniel Fuchs
On 08/02/17 15:58, Mandy Chung wrote: I disagree: the text starts by saying: "By default reflection frames are hidden. The reflection frames include […]" 209 * Shows all reflection frames. This is the first sentence. line 216-217 repeats line 209. but the sentence at lines 216-217 i

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-08 Thread Mandy Chung
> On Feb 8, 2017, at 3:36 AM, Daniel Fuchs wrote: > > Hi Mandy, > > Thanks for all the suggestions! > > On 07/02/17 20:03, Mandy Chung wrote: >>> Please find below a new webrev that incorporates your feedback. >>> http://cr.openjdk.java.net/~dfuchs/webrev_8173898/webrev.03/ >>> >> >> I think

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-08 Thread Daniel Fuchs
Hi Mandy, Thanks for all the suggestions! On 07/02/17 20:03, Mandy Chung wrote: Please find below a new webrev that incorporates your feedback. http://cr.openjdk.java.net/~dfuchs/webrev_8173898/webrev.03/ I think this sentence is not needed. 216 * A {@code StackWalker} with this {@

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-07 Thread Mandy Chung
> On Feb 7, 2017, at 5:10 AM, Daniel Fuchs wrote: > > Hi Mandy, > > On 06/02/17 00:16, Mandy Chung wrote: >> Hi Daniel, >> >> Thanks for the patch and uncover that Constructor::newInstance is not >> covered by SHOW_REFLECT_FRAMES. >> >> The change looks okay. The javadoc of SHOW_REFLECT_FRA

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-07 Thread Daniel Fuchs
Hi Mandy, On 06/02/17 00:16, Mandy Chung wrote: Hi Daniel, Thanks for the patch and uncover that Constructor::newInstance is not covered by SHOW_REFLECT_FRAMES. The change looks okay. The javadoc of SHOW_REFLECT_FRAMES can be clarified to include Constructor::newInstance. As for the test,

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-05 Thread Mandy Chung
Hi Daniel, Thanks for the patch and uncover that Constructor::newInstance is not covered by SHOW_REFLECT_FRAMES. The change looks okay. The javadoc of SHOW_REFLECT_FRAMES can be clarified to include Constructor::newInstance. As for the test, can you separate this in a new test to test show

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-03 Thread Brent Christian
This looks fine to me, Daniel. Fun test case. :) Thanks, -Brent On 02/03/2017 11:51 AM, Daniel Fuchs wrote: Hi, Please find below a simple fix for: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection. https://bugs.openjdk.java.net/b

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-03 Thread Paul Sandoz
> On 3 Feb 2017, at 15:27, Daniel Fuchs wrote: > > Hi Paul, > > On 03/02/17 21:54, Paul Sandoz wrote: >> >>> On 3 Feb 2017, at 11:51, Daniel Fuchs wrote: >>> >>> Hi, >>> >>> Please find below a simple fix for: >>> >>> 8173898: StackWalker.walk throws InternalError if called >>>from

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-03 Thread Daniel Fuchs
Hi Paul, On 03/02/17 21:54, Paul Sandoz wrote: On 3 Feb 2017, at 11:51, Daniel Fuchs wrote: Hi, Please find below a simple fix for: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection. https://bugs.openjdk.java.net/browse/JDK-81738

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-03 Thread Paul Sandoz
> On 3 Feb 2017, at 11:51, Daniel Fuchs wrote: > > Hi, > > Please find below a simple fix for: > > 8173898: StackWalker.walk throws InternalError if called > from a constructor invoked through reflection. > https://bugs.openjdk.java.net/browse/JDK-8173898 > > http://cr.openjdk.java.ne

Re: RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-03 Thread Daniel Fuchs
Hi, Please find below a new webrev. Part of the fix was mising in the previous one. I also took the opportunity to replace the test's assertEquals with those from org.testng.Assert. http://cr.openjdk.java.net/~dfuchs/webrev_8173898/webrev.01 best regards, -- daniel On 03/02/17 19:51, Daniel F

RFR: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection.

2017-02-03 Thread Daniel Fuchs
Hi, Please find below a simple fix for: 8173898: StackWalker.walk throws InternalError if called from a constructor invoked through reflection. https://bugs.openjdk.java.net/browse/JDK-8173898 http://cr.openjdk.java.net/~dfuchs/webrev_8173898/webrev.00/ best regards, -- daniel