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

Wait for jboss-modules to set module.path property #39

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

ebaron
Copy link
Collaborator

@ebaron ebaron commented Sep 25, 2024

This PR modifies the fingerprintJBoss method to wait, with timeout, for the module.path system property to be set. Attempting to get the boot module loader before this results in a broken module loader. I've done some refactoring to reuse the same logic used to get the jboss.home property.

This also includes @kittylyst's commit to catch and log any exceptions thrown during the JBoss fingerprinting process.

@ebaron ebaron requested a review from kittylyst September 25, 2024 16:04
Copy link
Collaborator

@kittylyst kittylyst left a comment

Choose a reason for hiding this comment

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

A couple of minor comments.

@jamezp
Copy link

jamezp commented Sep 25, 2024

This looks reasonable to me.

Copy link
Collaborator

@kittylyst kittylyst left a comment

Choose a reason for hiding this comment

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

LGTM.

@kittylyst kittylyst merged commit e3519c7 into main Sep 25, 2024
@kittylyst kittylyst deleted the suppress_jboss_race_condition branch October 12, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants