Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] JMC and jdk.jfr models of RecordingState differ #313

Closed
andrewazores opened this issue Dec 4, 2023 · 0 comments · Fixed by #314
Closed

[Bug] JMC and jdk.jfr models of RecordingState differ #313

andrewazores opened this issue Dec 4, 2023 · 0 comments · Fixed by #314
Assignees
Labels
bug Something isn't working

Comments

@andrewazores
Copy link
Member

There is a latent bug here: these two RecordingState types from the JMC type hierarchy and from jdk.jfr.Recording use two different enums with differently named enum member values to represent states a Flight Recording may be in. Using a simple name-based valueOf() call is unsafe since the names do not match 1:1, nor is one set a subset of the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
1 participant