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