-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
minimal
-
Removal of a historic undocumented System Property, for providing compatibility with code from before JDK 6.
-
System or security property
-
Implementation
Summary
Remove the System Property "jmx.extend.open.types", which was historically provided to aid compatibility, in JDK 6.
Problem
Classes should not override javax.management.openmbean.OpenType.getClassName(), and this was made illegal (caused an Exception) in JDK6. A System Property jmx.extend.open.types was introduced to allow such an override, for compatibility reasons.
This was not documented but was mentioned in the Exception message.
This compatibility convenience flag should be removed.
Solution
Remove the code that reads the Property "jmx.extend.open.types", the conditions related to it, and update tests.
New behaviour will be the same as current behaviour with the property unset.
Specification
No specification change. Property is not documented in the JDK.
Github PR for reference: https://github.com/openjdk/jdk/pull/23151
- csr of
-
JDK-8345048 Remove the jmx.extend.open.types compatibility property
- Resolved