Repository: maven-surefire
Updated Branches:
  refs/heads/master 1c34e05bd -> 8e05b10c9


[SUREFIRE-859] Exception in thread "TreadedStreamConsumer" 
java.lang.RuntimeException during GC


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/8e05b10c
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/8e05b10c
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/8e05b10c

Branch: refs/heads/master
Commit: 8e05b10c95d632db2aceecbb4f570e2b07002378
Parents: 1c34e05
Author: tibordigana <[email protected]>
Authored: Wed Nov 12 22:29:49 2014 +0100
Committer: tibordigana <[email protected]>
Committed: Wed Nov 12 22:29:49 2014 +0100

----------------------------------------------------------------------
 .../maven/plugin/surefire/booterclient/output/ForkClient.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/8e05b10c/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
----------------------------------------------------------------------
diff --git 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
index 75180c5..289b864 100644
--- 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
+++ 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
@@ -25,6 +25,7 @@ import java.io.StringReader;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
+import java.util.NoSuchElementException;
 import java.util.Properties;
 import java.util.StringTokenizer;
 
@@ -169,7 +170,11 @@ public class ForkClient
         }
         catch ( NumberFormatException e )
         {
-            System.out.println( s );
+            System.out.println( "SUREFIRE-859: " + s );
+        }
+        catch ( NoSuchElementException e )
+        {
+            System.out.println( "SUREFIRE-859: " + s );
         }
         catch ( ReporterException e )
         {

Reply via email to