RFR: 8173898: StackWalker.walk throws InternalError if called	from a constructor invoked through reflection.
    Paul Sandoz 
    paul.sandoz at oracle.com
       
    Fri Feb  3 21:54:50 UTC 2017
    
    
  
> On 3 Feb 2017, at 11:51, Daniel Fuchs <daniel.fuchs at 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;
Paul.
> best regards,
> 
> -- daniel
    
    
More information about the core-libs-dev
mailing list