Skip to content

Commit 1641cb7

Browse files
committed
Refine Reactor field precomputing on native
This commit refines Reactor field precomputing on native to only compute at build-time fields in the reactor.core package, since doing so in reactor.netty has unwanted side effects like Epoll always disabled. Closes gh-31141
1 parent c01e1b8 commit 1641cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/aot/nativex/feature/PreComputeFieldFeature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PreComputeFieldFeature implements Feature {
3838
Pattern.compile(Pattern.quote("org.springframework.aot.AotDetector#inNativeImage")),
3939
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*Present"),
4040
Pattern.compile(Pattern.quote("org.springframework.") + ".*#.*PRESENT"),
41-
Pattern.compile(Pattern.quote("reactor.") + ".*#.*Available"),
41+
Pattern.compile(Pattern.quote("reactor.core.") + ".*#.*Available"),
4242
Pattern.compile(Pattern.quote("org.apache.commons.logging.LogAdapter") + "#.*Present")
4343
};
4444

0 commit comments

Comments
 (0)