Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-40096] Limit the scope of the try catch block in FeatureHandler#registerFeature #4742

Closed
wants to merge 1 commit into from

Conversation

zakkak
Copy link
Collaborator

@zakkak zakkak commented Jul 21, 2022

This prevents NoClassDefFoundErrors from other methods, e.g. org.graalvm.nativeimage.hosted.Feature#getRequiredFeatures, to get caught and wrongly reported.

Relates to #4736

This prevents `NoClassDefFoundError`s from other methods,
e.g. `org.graalvm.nativeimage.hosted.Feature#getRequiredFeatures` to get
caught and wrongly reported.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 21, 2022
@zakkak zakkak requested a review from fniephaus July 21, 2022 14:29
@fniephaus fniephaus self-assigned this Jul 22, 2022
Copy link
Member

@fniephaus fniephaus left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@fniephaus fniephaus added this to the 22.3 milestone Jul 22, 2022
@fniephaus fniephaus changed the title Limit the scope of the try catch block in FeatureHandler#registerFeature [GR-40096] Limit the scope of the try catch block in FeatureHandler#registerFeature Jul 26, 2022
@fniephaus
Copy link
Member

Merged via 5261142.

@fniephaus fniephaus closed this Jul 28, 2022
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