mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Merge branch '7.0.x'
This commit is contained in:
+2
@@ -97,6 +97,7 @@ class ResourceBundleMessageSourceTests {
|
||||
doTestMessageAccess(true, false, true, true, false);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation") // for Locale constructors on JDK 19
|
||||
protected void doTestMessageAccess(
|
||||
boolean reloadable, boolean fallbackToSystemLocale,
|
||||
boolean expectGermanFallback, boolean useCodeAsDefaultMessage, boolean alwaysUseMessageFormat) {
|
||||
@@ -406,6 +407,7 @@ class ResourceBundleMessageSourceTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("deprecation") // for Locale constructors on JDK 19
|
||||
void reloadableResourceBundleMessageSourceFileNameCalculation() {
|
||||
ReloadableResourceBundleMessageSource ms = new ReloadableResourceBundleMessageSource();
|
||||
|
||||
|
||||
+1
@@ -225,6 +225,7 @@ class MBeanClientInterceptorTests extends AbstractMBeanServerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("deprecation") // for Thread.getId() on JDK 19
|
||||
void mxBeanOperationAccess() throws Exception {
|
||||
MBeanClientInterceptor interceptor = new MBeanClientInterceptor();
|
||||
interceptor.setServer(ManagementFactory.getPlatformMBeanServer());
|
||||
|
||||
Reference in New Issue
Block a user