diff --git a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java b/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java index fb39bdb146c..f9f756069ff 100644 --- a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java +++ b/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java @@ -185,7 +185,7 @@ class ConsoleIOContext extends IOContext { it.set(current); } - historyLoad = Instant.now(); + historyLoad = Instant.MIN; loadHistory.forEach(line -> reader.getHistory().add(historyLoad, line)); in = reader;