Repository navigation
[Hotspot] Restore superclass validation during class loading in CVM - #181
Merged
luchsh merged 1 commit intoOct 8, 2026
Conversation
superajun-wsj
force-pushed
the
upstream/bugfix/remove-unnecessary-cvm-macro-for-classloadverify
branch
from
September 29, 2026 07:17
057a3b5 to
24daa5c
Compare
superajun-wsj
requested review from
luchsh
and
a balanced review from Copilot
September 29, 2026 08:35
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused implementation correctly restores validation and includes an appropriate regression test.
Review effort: Balanced
Findings: None
What changed in this PR
Restores superclass accessibility validation for CVM’s JDK 8 class library.
Changes:
- Enables superclass access checks for all class-library targets.
- Adds a split-class-loader regression test.
| File | Description |
|---|---|
src/hotspot/share/classfile/classFileParser.cpp |
Removes the JDK 9+ guard. |
cvm/test/hotspot/runtime/classFileParser/SuperclassAccessCheckTest.java |
Verifies inaccessible superclass rejection. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
superajun-wsj
force-pushed
the
upstream/bugfix/remove-unnecessary-cvm-macro-for-classloadverify
branch
from
September 29, 2026 13:19
24daa5c to
ac12a70
Compare
luchsh
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.