Blacklists some classes for serialization.
@@ -41,9 +41,11 @@ 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.google",
"com.google.devtools.build.lib.vfs",
"com.google.devtools.build.lib.actions.ArtifactFactory",
- "com.google.devtools.build.lib.packages.PackageFactory$BuiltInRuleFunction");
+ "com.google.devtools.build.lib.packages.PackageFactory$BuiltInRuleFunction",
+ "com.google.devtools.build.skyframe.SkyFunctionEnvironment");
/** Classes outside {@link AutoRegistry#PACKAGE_PREFIX} that need to be serialized. */
private static final ImmutableList<String> EXTERNAL_CLASS_NAMES_TO_REGISTER =
