From 3037ef8b0073f34f26624dbf8483466179cd8e47 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 25 Jun 2005 23:20:43 +0000 Subject: [PATCH] use Sigar.load() --- .../java/src/net/hyperic/sigar/win32/Win32Bindings.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java b/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java index 5d7311a0..509ccd04 100644 --- a/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java +++ b/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java @@ -1,10 +1,15 @@ package net.hyperic.sigar.win32; import net.hyperic.sigar.Sigar; +import net.hyperic.sigar.SigarException; abstract class Win32Bindings { static { - new Sigar(); //XXX Sigar.load() + try { + Sigar.load(); + } catch (SigarException e) { + + } } }