From 59a3495ffb26f2c8e17ae64b5d5443c57bb0c201 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:11:34 +0000 Subject: [PATCH 1/2] build(deps): bump io.cryostat:cryostat-core from 2.24.0 to 2.25.0 Bumps [io.cryostat:cryostat-core](https://github.com/cryostatio/cryostat-core) from 2.24.0 to 2.25.0. - [Release notes](https://github.com/cryostatio/cryostat-core/releases) - [Commits](https://github.com/cryostatio/cryostat-core/compare/v2.24.0...v2.25.0) --- updated-dependencies: - dependency-name: io.cryostat:cryostat-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8a9360de0..e25691f57 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ UTF-8 UTF-8 - 2.24.0 + 2.25.0 1.16.0 2.13.0 From d4f2461ee2243ea58bf978477792788d2cacabcc Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 5 Dec 2023 13:45:49 -0500 Subject: [PATCH 2/2] hack patch to fix compilation --- .../java/io/cryostat/targets/AgentConnection.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/io/cryostat/targets/AgentConnection.java b/src/main/java/io/cryostat/targets/AgentConnection.java index ef8e3b646..cfe4efa2a 100644 --- a/src/main/java/io/cryostat/targets/AgentConnection.java +++ b/src/main/java/io/cryostat/targets/AgentConnection.java @@ -33,6 +33,7 @@ import org.openjdk.jmc.rjmx.ServiceNotAvailableException; import io.cryostat.core.FlightRecorderException; +import io.cryostat.core.JvmIdentifier; import io.cryostat.core.net.CryostatFlightRecorderService; import io.cryostat.core.net.IDException; import io.cryostat.core.net.JFRConnection; @@ -101,6 +102,16 @@ public String getJvmId() throws IDException, IOException { return Target.getTargetByConnectUrl(agentUri).jvmId; } + @Override + public JvmIdentifier getJvmIdentifier() throws IDException, IOException { + // try { + // return JvmIdentifier.from(getMBeanMetrics().getRuntime()); + // } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) { + // throw new IDException(e); + // } + throw new UnsupportedOperationException("Unimplemented method 'getJvmIdentifier'"); + } + @Override public int getPort() { return agentUri.getPort();