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

Mandy Chung mandy.chung at oracle.com
Wed Feb 8 16:19:42 UTC 2017


> On Feb 8, 2017, at 8:17 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> 
> I have made this change in my workspace:
> http://cr.openjdk.java.net/~dfuchs/webrev_8173898/webrev.05/
> 
>        /**
>         * Shows all reflection frames.
>         *
>         * <p>By default, reflection frames are hidden.  A {@code StackWalker}
>         * configured with this {@code SHOW_REFLECT_FRAMES} option
>         * will show all reflection frames that
>         * include {@link java.lang.reflect.Method#invoke} and
>         * {@link java.lang.reflect.Constructor#newInstance(Object...)}
>         * and their reflection implementation classes.

Looks good.

Thanks
Mandy


More information about the core-libs-dev mailing list