mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 06:29:10 +00:00
Specifically handle "java."/"javax." packages in SpringNamingPolicy
Closes gh-27622
This commit is contained in:
@@ -40,7 +40,7 @@ public final class SpringNamingPolicy implements NamingPolicy {
|
||||
if (prefix == null) {
|
||||
prefix = "org.springframework.cglib.empty.Object";
|
||||
}
|
||||
else if (prefix.startsWith("java")) {
|
||||
else if (prefix.startsWith("java.") || prefix.startsWith("javax.")) {
|
||||
prefix = "_" + prefix;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user