8215244: jdk/jshell/ToolBasicTest.java testHistoryReference failed
Mark history entries from previous sessions with timestamp that is definitelly in the past. Reviewed-by: rfield
This commit is contained in:
parent
3c42eaec01
commit
ef4cde4a24
@ -185,7 +185,7 @@ class ConsoleIOContext extends IOContext {
|
|||||||
it.set(current);
|
it.set(current);
|
||||||
}
|
}
|
||||||
|
|
||||||
historyLoad = Instant.now();
|
historyLoad = Instant.MIN;
|
||||||
loadHistory.forEach(line -> reader.getHistory().add(historyLoad, line));
|
loadHistory.forEach(line -> reader.getHistory().add(historyLoad, line));
|
||||||
|
|
||||||
in = reader;
|
in = reader;
|
||||||
|
Loading…
Reference in New Issue
Block a user