On Tue, 19 Dec 2023 19:39:22 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> What about fixed `String`s rather than `int`s for the kind of error?
>> Something like `"SUID_INEFFECTIVE_ON_ENUM"`, and so on?
>> It would be nice to be able to use enums, but AFAIK that's not supported in 
>> JFR.
>
> You could define them with an Enum but use the ordinal as the value for JFR.

Same remark here about finality as 
https://github.com/openjdk/jdk/pull/17129#discussion_r1432400888. public 
statics should be final.

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

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

Reply via email to