File tree Expand file tree Collapse file tree
java/com/google/javascript/jscomp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Compile/run with Java 21
2+ build --java_language_version=21
3+ build --java_runtime_version=21
4+ build --tool_java_language_version=21
5+ build --tool_java_runtime_version=21
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ maven.install(
8787maven .artifact (
8888 artifact = "closure-compiler" ,
8989 group = "com.google.javascript" ,
90- version = "v20240317 " ,
90+ version = "v20250402 " ,
9191)
9292
9393# javacc:javacc was not updated since 2008 and relocated to net.java.dev.javacc
Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ def _closure_js_library_impl(
140140 "strictCheckTypes" ,
141141 "strictModuleChecks" ,
142142 "superfluousSuppress" ,
143- "unnecessaryEscape" ,
144143 "underscore" ,
145144 ]
146145
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ final class JsCheckerPassConfig extends PassConfig.PassConfigDelegate {
4545 this .checks .maybeAdd (gatherModuleMetadataPass ());
4646 this .checks .maybeAdd (earlyLintChecks ());
4747 this .checks .maybeAdd (scopedAliases ());
48- this .checks .maybeAdd (closureRewriteClass ());
4948 this .checks .maybeAdd (lateLintChecks ());
5049 this .checks .maybeAdd (ijsGeneration ());
5150 this .checks .maybeAdd (whitespaceWrapGoogModules ());
@@ -57,7 +56,7 @@ protected PassListBuilder getChecks() {
5756 }
5857
5958 @ Override
60- protected PassListBuilder getOptimizations () {
59+ protected PassListBuilder getOptimizations (PassConfig . OptimizationPasses optimizationPasses ) {
6160 return new PassListBuilder (options );
6261 }
6362
@@ -111,13 +110,6 @@ private PassFactory scopedAliases() {
111110 .build ();
112111 }
113112
114- private PassFactory closureRewriteClass () {
115- return PassFactory .builder ()
116- .setName ("closureRewriteClass" )
117- .setInternalFactory ((compiler ) -> new ClosureRewriteClass (compiler ))
118- .build ();
119- }
120-
121113 private PassFactory lateLintChecks () {
122114 return PassFactory .builder ()
123115 .setName ("lateLintChecks" )
You can’t perform that action at this time.
0 commit comments