Review request for 8017950: error.stack should be a string rather than an array

Hannes Wallnoefer hannes.wallnoefer at
Wed Jun 26 02:41:59 PDT 2013

Both the Error stack property and the getStackTrace() method seem to 
return the __stack__ property if it is defined. Shouldn't that only be 
used for the stack property?

Generally I'm wondering if there isn't a better solution for a 
rewritable getter than to use a hidden property. I'll try a few things, 
even if I have the feeling I've been here before.


Am 2013-06-26 10:27, schrieb A. Sundararajan:
> Please review
> -Sundar

More information about the nashorn-dev mailing list