Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Apr 9, 2025

What changes were proposed in this pull request?

This PR aims to upgrade ASM from 9.7.1 to 9.8.

Why are the changes needed?

The new version is intended to support Java 25:

  • new Opcodes.V25 constant for Java 25
  • bug fixes
    • Fix one more copy operation on DUP2
    • 318015: Valid bytecode for jvm, but failed to pass the CheckClassAdapter.
    • ASMifier should print calls to valueOf instead of deprecated constructors of primitive wrappers

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass GitHub Actions

Was this patch authored or co-authored using generative AI tooling?

No

@LuciferYang LuciferYang marked this pull request as draft April 9, 2025 08:45
@github-actions github-actions bot added the BUILD label Apr 9, 2025
@LuciferYang LuciferYang changed the title Test ASM 9.8 [BUILD] Test ASM 9.8 Apr 9, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Thank you, @LuciferYang . :)

@LuciferYang LuciferYang changed the title [BUILD] Test ASM 9.8 [SPARK-51760][BUILD] Upgrade ASM to 9.8 Apr 10, 2025
@LuciferYang LuciferYang marked this pull request as ready for review April 10, 2025 06:57
@LuciferYang
Copy link
Contributor Author

cc @dongjoon-hyun This one is ready to go.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @LuciferYang .

@LuciferYang
Copy link
Contributor Author

Merged into master for Apache Spark 4.1.0. Thanks @dongjoon-hyun

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants