> On 3 Feb 2017, at 15:27, Daniel Fuchs <daniel.fu...@oracle.com> wrote: > > Hi Paul, > > On 03/02/17 21:54, Paul Sandoz wrote: >> >>> On 3 Feb 2017, at 11:51, Daniel Fuchs <daniel.fu...@oracle.com> 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.net/~dfuchs/webrev_8173898/webrev.00/ >>> >> >> Looks ok. >> >> Do you need invoke Dummy.create via reflection? >> >> 71 List<String> found = ((Dummy)Dummy.class.getMethod("create") >> 72 .invoke(null)).found; > > No. But since the bug is about reflection frames not > being filtered out correctly I added it for good measure. >
Ok, i see now, it’s testing both cases in one, thanks, Paul.