Skip to content

Instantly share code, notes, and snippets.

@dlinsin
Created October 29, 2009 14:31
Show Gist options
  • Save dlinsin/221475 to your computer and use it in GitHub Desktop.
Save dlinsin/221475 to your computer and use it in GitHub Desktop.
package de.linsin.sample.tools.bug;
import com.sun.tools.attach.VirtualMachine;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class ToolsJarTest {
@Test
public void testJVMInstances() {
assertTrue(VirtualMachine.list().size() > 0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment