Skip to content

[GR-72588] Catch proper exceptions in VarHandleFeature#eagerlyInitializeVarForm#12831

Closed
graalvmbot wants to merge 1 commit into
masterfrom
dkozak/GR-72588/varhandle-feature-fix-exception-handling
Closed

[GR-72588] Catch proper exceptions in VarHandleFeature#eagerlyInitializeVarForm#12831
graalvmbot wants to merge 1 commit into
masterfrom
dkozak/GR-72588/varhandle-feature-fix-exception-handling

Conversation

@graalvmbot
Copy link
Copy Markdown
Collaborator

The initialization may throw NPE, which will be wrapped by the Reflection API as either IllegalArgumentException or InvocationTargetException. The original version caught only IllegalArgumentException.

the initialization may throw NPE, which will be wrapped by the Reflection API
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 19, 2026
@graalvmbot graalvmbot closed this Jan 20, 2026
@graalvmbot graalvmbot deleted the dkozak/GR-72588/varhandle-feature-fix-exception-handling branch January 20, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants