mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Reviewed-by: egahlin
This commit is contained in:
@@ -343,6 +343,9 @@ public final class ValueFormatter {
|
||||
}
|
||||
|
||||
public static String formatTimestamp(Instant instant) {
|
||||
if (Instant.MIN.equals(instant)) {
|
||||
return "N/A";
|
||||
}
|
||||
return LocalTime.ofInstant(instant, ZoneId.systemDefault()).format(DATE_FORMAT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user