# HG changeset patch # User jlahoda # Date 1547199989 -3600 # Node ID f152abfd2751e774fe454716655cf03a1c9a976f # Parent 6b37a7ba9b667003991904f95816c14c36c32e7e 8215244: jdk/jshell/ToolBasicTest.java testHistoryReference failed Summary: Mark history entries from previous sessions with timestamp that is definitelly in the past. Reviewed-by: rfield diff -r 6b37a7ba9b66 -r f152abfd2751 src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java --- a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java Fri Jan 11 09:37:31 2019 +0100 +++ b/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java Fri Jan 11 10:46:29 2019 +0100 @@ -185,7 +185,7 @@ it.set(current); } - historyLoad = Instant.now(); + historyLoad = Instant.MIN; loadHistory.forEach(line -> reader.getHistory().add(historyLoad, line)); in = reader;