RFR: 8275338: Add JFR events for notable serialization situations [v5]

Erik Gahlin egahlin at openjdk.org
Tue Dec 19 17:58:44 UTC 2023


On Tue, 19 Dec 2023 17:37:50 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> src/java.base/share/classes/java/io/SerializationMisdeclarationChecker.java line 39:
>> 
>>> 37: import static java.lang.reflect.Modifier.*;
>>> 38: 
>>> 39: final class SerializationMisdeclarationChecker {
>> 
>> Is there a reason this event is placed in java.io package and not jdk.internal.event like other events?
>
> The mirror event itself and the JFR event are placed in their standard locations.
> Only the checker is in `java.io`, so I'm not sure what you mean here.

Sorry, my fault. Github showed "SerializationMisdeclar..." and I thought it was the event.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17129#discussion_r1431762931



More information about the security-dev mailing list