RFR (XS): 8081603: erroneous dot file generated from Nashorn --print-code

A. Sundararajan sundararajan.athijegannathan at oracle.com
Tue Jun 2 08:11:05 UTC 2015


On Tuesday 02 June 2015 01:39 PM, Michael Haupt wrote:
> Dear all,
> please review and sponsor this small fix.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8081603
> Changeset: http://cr.openjdk.java.net/~mhaupt/8081603/webrev.00/
> When using the --print-code option with an output directory, dot files would sometimes contain lines reporting on caught exceptions. These are supposed to be part of the labels on graph nodes. The string would however end with a hard line break, which does not comply with dot label string formatting rules. The fix emits a dot compliant line break.
> Tested manually with dot.
> Thanks,
> Michael

More information about the nashorn-dev mailing list