From 5edf8ab64a095dc453b4798902686de41314853c Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 10 Aug 2004 03:43:12 +0000 Subject: [PATCH] change parent ClassLoader to fix problem in HQ dump-plugin-info --- .../java/src/net/hyperic/sigar/ptql/ProcessQueryBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/ptql/ProcessQueryBuilder.java b/bindings/java/src/net/hyperic/sigar/ptql/ProcessQueryBuilder.java index 880ebdb0..aab78868 100644 --- a/bindings/java/src/net/hyperic/sigar/ptql/ProcessQueryBuilder.java +++ b/bindings/java/src/net/hyperic/sigar/ptql/ProcessQueryBuilder.java @@ -820,7 +820,7 @@ public class ProcessQueryBuilder { } byte[] bytecode = this.generator.getJavaClass().getBytes(); - ClassLoader parent = ClassLoader.getSystemClassLoader(); + ClassLoader parent = this.getClass().getClassLoader(); ClassLoader cl = new ProcessQueryClassLoader(parent, bytecode); Class genclass;