Skip to content

Fix exception type in BuildPlanExecutor - #13668

Merged
gnodet merged 1 commit into
apache:feature/warning-modefrom
abdulhannansyed548-cmd:fix-buildplanexecutor-throwable
Oct 22, 2026
Merged

gnodet merged 1 commit into
apache:feature/warning-modefrom
abdulhannansyed548-cmd:fix-buildplanexecutor-throwable

Conversation

@abdulhannansyed548-cmd

Copy link
Copy Markdown
Contributor

Summary

Fix a compilation error in BuildPlanExecutor by using Throwable for the exception value obtained from BuildStep.exception.

Validation

  • mvn -pl impl/maven-core -am -DskipTests compile — passed.

This change is separate from the warning-mode feature and addresses the type mismatch on the feature/warning-mode branch.

License

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. BuildStep.exception is declared volatile Throwable, so the local variable on feature/warning-mode was incorrectly typed as Exception — a compilation error. The fix aligns it with master (which already uses Throwable here) and with the field declaration. No other changes, no tests needed (compilation is the gate).

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@gnodet
gnodet merged commit 8aa71eb into apache:feature/warning-mode Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants