diff --git a/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java b/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java index 729991cb..55f23adb 100644 --- a/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java +++ b/bindings/java/src/org/hyperic/sigar/jmx/SigarProcess.java @@ -82,7 +82,7 @@ public class SigarProcess implements SigarProcessMBean { public String getObjectName() throws SigarException { long pid = getPid(); - String name = this.sigar.getProcState(pid).getName(); + String name = this.sigar.getProcState(pid).getName().replaceAll(":", "_"); String cls = "unknown"; if (name.startsWith("java")) { try {