From b85f2d198c99cc66013f9afb688d8fa368f9a3a6 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 3 Oct 2023 05:47:06 -0700 Subject: [PATCH] Register java.time.Instant to be serialized with DynamicCodec. PiperOrigin-RevId: 570359127 Change-Id: I33f89f9158c14f433665b3adbcb6301b29c38687 --- .../devtools/build/lib/skyframe/serialization/AutoRegistry.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/serialization/AutoRegistry.java b/src/main/java/com/google/devtools/build/lib/skyframe/serialization/AutoRegistry.java index ce5638b21a1d52..2e6709ccdf973e 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/serialization/AutoRegistry.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/serialization/AutoRegistry.java @@ -58,6 +58,7 @@ private static boolean packageFilter(String name) { "java.io.IOException", "java.lang.StackTraceElement", "java.lang.invoke.SerializedLambda", + "java.time.Instant", "com.google.common.base.Predicates$InPredicate", // Sadly, these builders are serialized as part of StarlarkCustomCommandLine$Builder, // which apparently can be preserved through analysis. We may investigate if this actually