# HG changeset patch # User Jaroslav Tulach # Date 1432537747 -7200 # Node ID 2405d3b983cc53df9da0e8aeaa3e3094f57c4314 # Parent 2dad34a3d7b0a14710043b9c38ef9bbe8c758d7b PrintWriter needs to be flushed more often than PrintStream diff -r 2dad34a3d7b0 -r 2405d3b983cc graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLContext.java --- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLContext.java Mon May 25 08:49:16 2015 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/runtime/SLContext.java Mon May 25 09:09:07 2015 +0200 @@ -163,6 +163,7 @@ throw new SLException("No function main() defined in SL source file."); } main.getCallTarget().call(); + output.flush(); } public DynamicObject createObject() {