mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Merge pull request #41 from nginx-clojure/2.1
Fix NoClassDefFoundError when run without xstream
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user