Skip to content

Commit

Permalink
XStream 1.4.11 fails to run on a Java Runtime >= 1.8. Closes #133.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed Oct 26, 2018
1 parent 2650a1a commit 6f03bea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions xstream-distribution/src/content/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,15 @@ <h2>Stream compatibility</h2>
<li>No support for Hibernate 3 collections.</li>
</ul>

<!--
<h1 id="upcoming-1.4.x">Upcoming 1.4.x maintenance release</h1>

<p>Not yet released.</p>
-->

<h2>Hot fix</h2>

<ul>
<li>GHI:#133: XStream 1.4.11 fails to run on a Java Runtime &lt;= 1.8.</li>
</ul>

<h1 id="1.4.11">1.4.11</h1>

Expand Down
1 change: 1 addition & 0 deletions xstream/src/java/com/thoughtworks/xstream/core/JVM.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public int compare(final Object o1, final Object o2) {
try {
base64 = base64Class.newInstance();
} catch (final Exception e) {
} catch (final Error e) {
}
}
if (base64 == null) {
Expand Down

0 comments on commit 6f03bea

Please sign in to comment.