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

[MNG-8178] Fall back to system properties for missing profile activation context properties #1609

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jul 10, 2024

  • [MNG-8178] Fall back to System.getProperty for missing context props
  • Use Os class to grab values instead

Forward port of #1603

kohlschuetter and others added 2 commits July 10, 2024 21:57
A call to context.getSystemProperties() may yield empty an empty map, or
one missing the desired key, which makes a subsequent call of
toLowerCase fail with a NullPointerException.

Fall-back to using System.getProperty (with an empty default, in case
that one fails too).
@gnodet gnodet added this to the 4.0.0-beta-4 milestone Jul 10, 2024
@gnodet gnodet merged commit f2a0865 into apache:master Jul 11, 2024
13 checks passed
gnodet added a commit that referenced this pull request Oct 1, 2024
…ion context properties (#1609)

Missed port to the build implementation from f2a0865
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