unhardcore sigar.jar name

This commit is contained in:
Doug MacEachern 2008-01-26 00:30:40 +00:00
parent fc3d1edf02
commit ef68c0d9cc
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ public class TestProcFd extends SigarTestCase {
long total = sigar.getProcFd(pid).getTotal();
File file = new File(SigarLoader.getLocation(), "sigar.jar");
SigarLoader loader = new SigarLoader(Sigar.class);
String path = loader.findJarPath(null);
File file = new File(path, loader.getJarName());
traceln("Opening " + file);