After further consideration, the team has decided to remove the
getAutodetectMode() method since its return type conflicts with the
parameter type in setAutodetectMode(int), making it an invalid bean
property.
See gh-30855
@ -446,7 +446,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -446,7 +446,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
assertThatIllegalArgumentException()
.isThrownBy(()->exporter.setAutodetectMode(-1))
.withMessage("Only values of autodetect constants allowed");
@ -454,7 +454,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -454,7 +454,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
assertThatIllegalArgumentException()
.isThrownBy(()->exporter.setAutodetectMode(5))
.withMessage("Only values of autodetect constants allowed");
@ -471,7 +471,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -471,7 +471,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -479,7 +479,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -479,7 +479,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -487,7 +487,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -487,7 +487,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -495,7 +495,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -495,7 +495,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -503,7 +503,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -503,7 +503,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -520,7 +520,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -520,7 +520,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {