Add ArtifactFactory to the AutoRegistry blacklist.
@@ -43,7 +43,9 @@ public class AutoRegistry {
/** Class name prefixes to blacklist for {@link DynamicCodec}. */
private static final ImmutableList<String> CLASS_NAME_PREFIX_BLACKLIST =
- ImmutableList.of("com.google.devtools.build.lib.vfs");
+ ImmutableList.of(
+ "com.google.devtools.build.lib.vfs",
+ "com.google.devtools.build.lib.actions.ArtifactFactory");
/** Classes outside {@link AutoRegistry#PACKAGE_PREFIX} that need to be serialized. */
private static final ImmutableList<String> EXTERNAL_CLASS_NAMES_TO_REGISTER =
