aboutsummaryrefslogtreecommitdiffstats
path: root/dcevm
diff options
context:
space:
mode:
Diffstat (limited to 'dcevm')
-rw-r--r--dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java b/dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java
new file mode 100644
index 00000000..f9489b70
--- /dev/null
+++ b/dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java
@@ -0,0 +1,16 @@
+package com.github.dcevm.test.management;
+
+import org.junit.Test;
+
+import java.lang.management.ManagementFactory;
+
+public class ManagementTest {
+
+ @Test
+ public void testJMXIsFine() {
+ // https://github.com/dcevm/dcevm/issues/69
+ // Verify management.dll could be loaded
+ ManagementFactory.getRuntimeMXBean();
+ ManagementFactory.getPlatformMBeanServer();
+ }
+}