Skip to content

Commit

Permalink
Recognize PRESENT fields in native classpath checks at build time
Browse files Browse the repository at this point in the history
This pattern is used in Spring Boot.

See spring-projectsgh-28624
  • Loading branch information
sdeleuze committed Jul 7, 2022
1 parent 0387d54 commit 5397d47
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ class ConstantFieldSubstitutionProcessor extends SubstitutionProcessor {
private static Pattern[] patterns = {
Pattern.compile(Pattern.quote("org.springframework.core.NativeDetector#imageCode")),
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*Present"),
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*_PRESENT"),
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*PRESENT"),
Pattern.compile(Pattern.quote("reactor.") + ".*#.*Available")
};

Expand Down

0 comments on commit 5397d47

Please sign in to comment.