RFR: 8302858: Polish FlightRecorderMXBeanImpl
Erik Gahlin
egahlin at openjdk.org
Mon Feb 20 16:46:27 UTC 2023
On Mon, 20 Feb 2023 10:51:29 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes some polishing of the `FlightRecorderMXBeanImpl` class.
src/jdk.management.jfr/share/classes/jdk/management/jfr/FlightRecorderMXBeanImpl.java line 286:
> 284: Object value = entry.getValue();
> 285: if (!(key instanceof String)) {
> 286: throw new IllegalArgumentException("Option key must not be null, or other type than " + String.class);
Why is the type check removed?
-------------
PR: https://git.openjdk.org/jdk/pull/12656
More information about the hotspot-jfr-dev
mailing list