changeset 283:bfbe23678089

Runners: StringResult1 should accept null gracefully.
author shade
date Wed, 01 Jun 2016 16:58:45 +0300
parents 235dad473c55
children 15032b3442e0
files jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/StringResult1.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/StringResult1.java	Wed Jun 01 16:22:24 2016 +0300
+++ b/jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/StringResult1.java	Wed Jun 01 16:58:45 2016 +0300
@@ -54,7 +54,7 @@
 
     @Override
     public String toString() {
-        return r1;
+        return String.valueOf(r1);
     }
 
 }