mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue