diff --git a/.bazelrc b/.bazelrc index d6be9f065df2f0..d162168a442944 100644 --- a/.bazelrc +++ b/.bazelrc @@ -58,9 +58,6 @@ build --incompatible_disallow_empty_glob # Manually enable cc toolchain resolution before it is flipped. https://github.com/bazelbuild/bazel/issues/7260 build --incompatible_enable_cc_toolchain_resolution -# Fix non-deterministic Java compilation failures (https://github.com/bazelbuild/bazel/issues/3236) -build --incompatible_sandbox_hermetic_tmp - # User-specific .bazelrc try-import %workspace%/user.bazelrc diff --git a/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java b/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java index 768c07511fd795..c3809b85da0ead 100644 --- a/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java +++ b/src/main/java/com/google/devtools/build/lib/sandbox/SandboxOptions.java @@ -350,7 +350,7 @@ public ImmutableSet getInaccessiblePaths(FileSystem fs) { @Option( name = "incompatible_sandbox_hermetic_tmp", - defaultValue = "false", + defaultValue = "true", documentationCategory = OptionDocumentationCategory.EXECUTION_STRATEGY, effectTags = {OptionEffectTag.EXECUTION}, help =