-
Notifications
You must be signed in to change notification settings - Fork 21
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
chore(jmc-core): update to JMC version 9.0.0 #362
Conversation
#337 - I would prefer to wait a while for Maven Central publication, just to keep things a little tidier. |
Looks like it must be on Central now, since Dependabot picked it up over here first: cryostatio/jfr-datasource#284 |
Excellent, yeah I can see the updated versions at: https://central.sonatype.com/artifact/org.openjdk.jmc/common/versions It doesn't look like |
I've opened https://bugs.openjdk.org/browse/JMC-8217 to track the inclusion of the missing core artifacts into Maven Central. Oracle opted to simply update the existing artifacts for 9.0.0 without adding the new ones. When asked about it, the timeline went from 9.1.0 (2025-01-29), to a 9.0.X release (which might be on the horizon to fix a PID formatting issue), to a "we'll try to add them soon" in response to the above jira ticket. |
I've rebased here, locally it's looking good with What do you think is the best way to go about reviewing this work? The cryostat3 CI step isn't going to be too happy because core and reports will need the changes first. If you want to try it locally, I've prepared my later branches to use See: |
Yep, that's fine. That step is there to help catch accidental breakages, but when they're expected then I'm fine with ignoring it and validating things manually. |
Ah I still had the repo set to private, it should be visible now. |
This file has been removed, so it's a trivial merge/rebase fix. |
Manual reviews are all looking good. The Agent also consumes this dependency but doesn't actually use any of the JMC pieces, so it shouldn't need any additional work. |
Fixes #365
This PR goes against issues #22 and #173, in which it would be nice to not have to embed JMC sources into cryostat-core.
As of JMC 9.0.0, the requisite classes for cryostat-core to run have been moved into the JMC core libraries. This includes changes in existing packages, and the newly moved flightrecorder.configuration and rjmx.common packages.
At the moment, JMC 9 core libraries are available for download on the Adoptium repositories, and that's what this PR makes use of. If it'd be preferable to wait and use Maven Central supplied artifacts instead, I can just draft this PR and update it when they're released.