[MNG-8178] Fall back to system properties for missing profile activation context properties by kohlschuetter · Pull Request #1603 · apache/maven (original) (raw)
kohlschuetter changed the title
MNG-8178: Fall back to System.getProperty for missing context props [MNG-8178]: Fall back to System.getProperty for missing context props
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).
kohlschuetter changed the title
[MNG-8178]: Fall back to System.getProperty for missing context props [MNG-8178] Fall back to System.getProperty for missing context props
gnodet changed the title
[MNG-8178] Fall back to System.getProperty for missing context props [MNG-8178] Fall back to system properties for missing profile activation context properties
olamy mentioned this pull request
8 tasks
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
[ Show hidden characters]({{ revealButtonHref }})