Merge pull request #41 from nginx-clojure/2.1

Fix NoClassDefFoundError when run without xstream
This commit is contained in:
Roman Leventov
2015-09-10 14:50:19 +03:00
@@ -274,7 +274,7 @@ public class ChronicleMapBuilder<K, V> implements Cloneable,
try {
xStreamClass =
Class.forName("net.openhft.xstream.MapHeaderSerializationXStream");
} catch (ClassNotFoundException e) {
} catch (ClassNotFoundException | NoClassDefFoundError e) {
xStreamClass = null;
}
if (xStreamClass == null) {