Fix case handling of `java_common.compile(strict_deps)`
PiperOrigin-RevId: 759094738
Change-Id: Id076b9ab98e5b8cd922ff9f3dfe00d46bd4e9ec9
diff --git a/java/private/java_common_internal.bzl b/java/private/java_common_internal.bzl
index d740255..466f59a 100644
--- a/java/private/java_common_internal.bzl
+++ b/java/private/java_common_internal.bzl
@@ -177,7 +177,7 @@
has_sources = source_files or source_jars
has_resources = resources or resource_jars
- is_strict_mode = strict_deps != "OFF"
+ is_strict_mode = strict_deps.upper() != "OFF"
classpath_mode = ctx.fragments.java.reduce_java_classpath()
direct_jars = depset()