You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/11/30 16:22:06 UTC
svn commit: r885481 -
/incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java
Author: spoole
Date: Mon Nov 30 16:22:05 2009
New Revision: 885481
URL: http://svn.apache.org/viewvc?rev=885481&view=rev
Log:
fixes to hprof JavaRuntime impl to support basic legacy contract for API
Modified:
incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java
Modified: incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java?rev=885481&r1=885480&r2=885481&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java (original)
+++ incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java Mon Nov 30 16:22:05 2009
@@ -69,8 +69,9 @@
public void testGetJVM() throws IOException, DataUnavailable, CorruptDataException {
JavaRuntime runtime=getJavaRuntime();
+
ImagePointer pointer=(ImagePointer) runtime.getJavaVM();
- assertNull(pointer);
+ assertNotNull(pointer);
}