src/jdk/nashorn/tools/Shell.java

Print this page

        

*** 451,461 **** err.println(JSType.toString(res)); } } } finally { if (globalChanged) { ! Context.setGlobal(global); } } return SUCCESS; } --- 451,461 ---- err.println(JSType.toString(res)); } } } finally { if (globalChanged) { ! Context.setGlobal(oldGlobal); } } return SUCCESS; }