Skip to content

Conversation

@pan3793
Copy link
Member

@pan3793 pan3793 commented Nov 25, 2025

Why are the changes needed?

To suppress warnings like

[INFO] --- enforcer:3.5.0:enforce (enforce-bytecode-version) @ kyuubi-spark-sql-engine_2.13 ---
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/JdkClassWriter$1.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/AsmWrappedAttribute.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/AsmWrappedAttribute$AsmSourceIdAttribute.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/JdkClassReader$TypeAnnotationVisitorSource.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/AsmAttribute.class: got null class-file-version
...

How was this patch tested?

Pass GHA, and manually verified the warnings have gone.

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

No.

@pan3793 pan3793 closed this in fba1f94 Nov 25, 2025
pan3793 added a commit that referenced this pull request Nov 25, 2025
### Why are the changes needed?

To suppress warnings like

```
[INFO] --- enforcer:3.5.0:enforce (enforce-bytecode-version)  kyuubi-spark-sql-engine_2.13 ---
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/JdkClassWriter$1.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/AsmWrappedAttribute.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/AsmWrappedAttribute$AsmSourceIdAttribute.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/JdkClassReader$TypeAnnotationVisitorSource.class: got null class-file-version
[WARNING] Unknown bytecodeVersion for net.bytebuddy:byte-buddy:jar:1.17.6:compile : META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/AsmAttribute.class: got null class-file-version
...
```

### How was this patch tested?

Pass GHA, and manually verified the warnings have gone.

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

No.

Closes #7261 from pan3793/extra-enforcer-rules-1.11.

Closes #7261

267537a [Cheng Pan] Bump extra-enforcer-rules 1.11.0

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit fba1f94)
Signed-off-by: Cheng Pan <chengpan@apache.org>
@pan3793 pan3793 self-assigned this Nov 25, 2025
@pan3793 pan3793 added this to the v1.10.3 milestone Nov 25, 2025
@pan3793
Copy link
Member Author

pan3793 commented Nov 25, 2025

Merged to master/1.10

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (926a8cb) to head (267537a).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #7261   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         696     696           
  Lines       43530   43530           
  Branches     5883    5883           
======================================
  Misses      43530   43530           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants