< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/NashornTextifier.java

Print this page
rev 1296 : 8081603: erroneous dot file generated from Nashorn --print-code

*** 1,7 **** /* ! * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 1107,1117 **** if (c.startsWith(LEFT_ALIGN)) { c = c.substring(LEFT_ALIGN.length()); } final String ex = catches.get(node); if (ex != null) { ! sb.append("*** CATCH: ").append(ex).append(" ***\n"); } sb.append(c); sb.append("\"]\n"); } --- 1107,1117 ---- if (c.startsWith(LEFT_ALIGN)) { c = c.substring(LEFT_ALIGN.length()); } final String ex = catches.get(node); if (ex != null) { ! sb.append("*** CATCH: ").append(ex).append(" ***\\l"); } sb.append(c); sb.append("\"]\n"); }
< prev index next >