From cc87e9ec8b6045a9b540c646c1d3881724deffb6 Mon Sep 17 00:00:00 2001 From: Chad Killingsworth Date: Sat, 17 May 2025 06:21:06 -0500 Subject: [PATCH] Add reflection protection for GRAAL to prevent runtime exceptions Conformance configurations trigger runtime exceptions due to missing methods and fields --- build-scripts/reflection-config.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-scripts/reflection-config.json b/build-scripts/reflection-config.json index 8bf13786..c043a929 100644 --- a/build-scripts/reflection-config.json +++ b/build-scripts/reflection-config.json @@ -203,6 +203,11 @@ "allPublicMethods" : true, "allPublicFields" : true }, + { + "name": "com.google.javascript.jscomp.ConformanceConfig$LibraryLevelNonAllowlistedConformanceViolationsBehavior", + "allPublicMethods" : true, + "allPublicFields" : true + }, { "name" : "com.google.javascript.jscomp.ConformanceRules", "allDeclaredMethods" : true,