jshell tool: what should the interactive output look like? toString...
Robert Field
robert.field at oracle.com
Mon Jan 25 21:43:23 UTC 2016
On 01/25/16 13:30, Jonathan Gibbons wrote:
>
>
> On 01/25/2016 09:20 AM, Dan Smith wrote:
>> (I run into this problem quite a bit when debugging javac, because
>> 'toString' on AST nodes often produces multi-line output.)
>
> tree.toString().replaceAll("\\s+", " ")
In this usage, it could be quite confusing for for newlines to appear,
so we would want either to get rid of them (this suggestion) or at least
preface them.
More information about the kulla-dev
mailing list