Fix NoClassDefFoundError when run without xstream

This commit is contained in:
xfeep
2015-09-10 15:08:18 +03:00
committed by leventov
parent 6fbcbb8da6
commit 7e26218940
@@ -1465,7 +1465,7 @@ public final class ChronicleMapBuilder<K, V> implements
try {
xStreamClass =
Class.forName("net.openhft.xstream.MapHeaderSerializationXStream");
} catch (ClassNotFoundException e) {
} catch (ClassNotFoundException | NoClassDefFoundError e) {
xStreamClass = null;
}
if (xStreamClass == null) {