RFR (XS): 8081603: erroneous dot file generated from Nashorn --print-code
marcus.lagergren at oracle.com
Tue Jun 2 08:32:13 UTC 2015
> On 02 Jun 2015, at 10:09, Michael Haupt <michael.haupt at oracle.com> 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.
> Dr. Michael Haupt | Principal Member of Technical Staff
> Phone: +49 331 200 7277 | Fax: +49 331 200 7561
> Oracle Java Platform Group | HotSpot Compiler Team
> Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
> <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
More information about the nashorn-dev