You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by hs...@apache.org on 2015/11/12 05:58:12 UTC

[1/2] incubator-apex-core git commit: - APEX-257 #resolve #comment Fixed unit test for FastClassIndexReader

Repository: incubator-apex-core
Updated Branches:
  refs/heads/devel-3 30f4e21f1 -> 1873f5562


- APEX-257 #resolve #comment Fixed unit test for FastClassIndexReader


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/3d98664e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/3d98664e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/3d98664e

Branch: refs/heads/devel-3
Commit: 3d98664ee3689e31af7e3c6ee69d2f946b57c13a
Parents: aaa21a3
Author: Timothy Farkas <ti...@datatorrent.com>
Authored: Wed Nov 11 16:08:07 2015 -0800
Committer: Timothy Farkas <ti...@datatorrent.com>
Committed: Wed Nov 11 16:08:07 2015 -0800

----------------------------------------------------------------------
 .../datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/3d98664e/engine/src/test/java/com/datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java
----------------------------------------------------------------------
diff --git a/engine/src/test/java/com/datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java b/engine/src/test/java/com/datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java
index 41d87bc..47c4d49 100644
--- a/engine/src/test/java/com/datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java
+++ b/engine/src/test/java/com/datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java
@@ -91,7 +91,7 @@ public class FastClassIndexReaderTest
 
     jar.close();
 
-    jar = new JarFile("/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar");
+    jar = new JarFile(jdkJar);
     entriesEnum = jar.entries();
     time = System.currentTimeMillis();
     while (entriesEnum.hasMoreElements()) {
@@ -103,6 +103,8 @@ public class FastClassIndexReaderTest
       }
     }
 
+    jar.close();
+
     LOG.info("The time to scan jdk using FastClassIndexReader {} ", System.currentTimeMillis() - time);
 
   }


[2/2] incubator-apex-core git commit: Merge branch 'APEX-257' of github.com:ilooner/incubator-apex-core into devel-3

Posted by hs...@apache.org.
Merge branch 'APEX-257' of github.com:ilooner/incubator-apex-core into devel-3


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/1873f556
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/1873f556
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/1873f556

Branch: refs/heads/devel-3
Commit: 1873f55623fbcf0e8c9f3ec1c35e4d3776a03768
Parents: 30f4e21 3d98664
Author: siyuan <hs...@gmail.com>
Authored: Wed Nov 11 20:54:55 2015 -0800
Committer: siyuan <hs...@gmail.com>
Committed: Wed Nov 11 20:54:55 2015 -0800

----------------------------------------------------------------------
 .../datatorrent/stram/webapp/asm/FastClassIndexReaderTest.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------