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

2013-06-26 Thread A. Sundararajan
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 prop

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

2013-06-26 Thread Jim Laskey (Oracle)
+1 On 2013-06-26, at 5:27 AM, A. Sundararajan wrote: > Please review http://cr.openjdk.java.net/~sundar/8017950/ > > -Sundar

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

2013-06-26 Thread Hannes Wallnoefer
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 fe

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

2013-06-26 Thread A. Sundararajan
Please review http://cr.openjdk.java.net/~sundar/8017950/ -Sundar