RFR: 8219904: ClassCastException when calling FlightRecorderMXBean#getRecordings()

Erik Gahlin erik.gahlin at oracle.com
Mon Oct 21 12:12:54 UTC 2019


Hi,

The javadoc states that the key should be "disk" (which is the same used 
by jcmd and -XX:StartFlightRecording).

Is "toDisk" synthesized from the method name "isToDisk" in 
RecordingInfo, or is it set somewhere else?

Do the problem only occur if you access RecordingInfo over network? I am 
asking since you added a port to the test.

Erik
> Hi
>
> I fixed a problem with ClassCastException. Also, I fixed the CompositeData
> field name because it was incorrect.
>
> Could you please review it?
>
> JBS https://bugs.openjdk.java.net/browse/JDK-8219904
> Webrev http://cr.openjdk.java.net/~cito/JDK-8219904/webrev.00/
>
> The comment on the JBS mentions UneclaredThrowableException, which is a
> different issue.
>
> Regards,
> Chihiro



More information about the hotspot-jfr-dev mailing list