Skip to content

Fix currentClassLoader variable name - #237

Draft
slachiewicz wants to merge 1 commit into
apache:masterfrom
slachiewicz:agent/sweep-prod-typo
Draft

slachiewicz wants to merge 1 commit into
apache:masterfrom
slachiewicz:agent/sweep-prod-typo

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

The local variable holding the previous context class loader was misspelled in both script interpreters.

  • Renamed curentClassLoader → currentClassLoader in BeanShellScriptInterpreter and GroovyScriptInterpreter, including the finally restore.
  • No behavior change; two occurrences in each file.
  • Rechecked open PR Route script output per thread instead of swapping System.out for the JVM #218, which touches both files: it leaves these exact lines unchanged (they are diff context), so there is no line-level conflict.

Tracking: apache/maven#14072

Verified: JAVA_HOME=<JDK 21> mvn -B -o test → 36 tests, 0 failures/errors, BUILD SUCCESS (0 Checkstyle violations). CI not checked here (driver checks centrally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant