From feb5f4c8513aef54deb9382dc6ed30b654d98ebe Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Thu, 25 Apr 2024 13:56:27 -0500 Subject: [PATCH] Flip this to false to disable eager constants See jruby/jruby#8208 --- core/src/main/java/org/jruby/util/cli/Options.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jruby/util/cli/Options.java b/core/src/main/java/org/jruby/util/cli/Options.java index 6429a4894aad..f47e2ffb715d 100644 --- a/core/src/main/java/org/jruby/util/cli/Options.java +++ b/core/src/main/java/org/jruby/util/cli/Options.java @@ -194,7 +194,7 @@ public class Options { public static final Option JI_LOAD_LAZY = bool(JAVA_INTEGRATION, "ji.load.lazy", true, "Load Java support (class extensions) lazily on demand or ahead of time."); public static final Option JI_CLOSE_CLASSLOADER = bool(JAVA_INTEGRATION, "ji.close.classloader", false, "Close the JRubyClassLoader used by each runtime"); public static final Option JI_NESTED_JAR_TMPDIR = string(JAVA_INTEGRATION, "ji.nested.jar.tmpdir", "Use specified dir as a base for unpacking nested jar files."); - public static final Option JI_EAGER_CONSTANTS = bool(JAVA_INTEGRATION, "ji.eager.constants", true, "Eagerly bind Java:: constants for newly-encountered classes"); + public static final Option JI_EAGER_CONSTANTS = bool(JAVA_INTEGRATION, "ji.eager.constants", false, "Eagerly bind Java:: constants for newly-encountered classes"); public static final Option PROFILE_MAX_METHODS = integer(PROFILING, "profile.max.methods", 100000, "Maximum number of methods to consider for profiling.");