Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Commit

Permalink
[JENKINS-21183] There is no guarantee that System.getProperty("java.r…
Browse files Browse the repository at this point in the history
…untime.name") is set; this is not a documented property.
  • Loading branch information
jglick committed Dec 31, 2013
1 parent 12bfeb1 commit 8b14bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xstream/src/java/com/thoughtworks/xstream/core/JVM.java
Expand Up @@ -44,7 +44,7 @@ public class JVM implements Caching {
private static final boolean canParseUTCDateFormat;

private static final String vendor = System.getProperty("java.vm.vendor");
private static final String runtime = System.getProperty("java.runtime.name");
private static final String runtime = System.getProperty("java.runtime.name", "unknown");
private static final float majorJavaVersion = getMajorJavaVersion();
private static final boolean reverseFieldOrder = isIBM() && !is15();

Expand Down

0 comments on commit 8b14bfc

Please sign in to comment.