Removed __stack__ property for getStackTrace()
For 'stack' property, we want user code to "override" our getter/setter
based retrieval of stack string -- with whatever value they'd like to
provide.
-Sundar
On Wednesday 26 June 2013 03:11 PM, Hannes Wallnoefer wrote:
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