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

Hannes Wallnoefer hannes.wallnoefer at oracle.com
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.

Hannes

Am 2013-06-26 10:27, schrieb A. Sundararajan:
> Please review http://cr.openjdk.java.net/~sundar/8017950/
>
> -Sundar



More information about the nashorn-dev mailing list