Conversation
|
Looks like this needs some work in the suggester: |
|
It seems that the recent version of xtream got more strict in terms of (de)serialization and now demands explicit converter, in our case for the Lucene's Looking at com.thoughtworks.xstream.converters.extended no such thing is there. Some inspiration can be found e.g. on x-stream/xstream#293 |
|
The default void putAll(File fromFile) throws IOException {
synchronized(this) {
JsonSerializer.putAll(fromFile, this, Collections.emptyList());
}
} |
|
After some experimentation with behavioral differences between XStream 1.4.20 and 1.4.21 from the perspective of ChronicleMap, I found that the JSON format used by Given that the latest version of ChronicleMap is stil using XStream 1.4.20 no wonder they have not found about the issue yet. We will need to wait for ChronicleMap to address that. Will file a issue in ChronicleMap documenting my findings. |
|
I tried to remove the xstream from the list of suggester dependencies. It builds just fine without it, however it is actually needed during runtime: And it seems it has to be in the same version as the one used by Chronicle map (where it is optional dependency: https://github.com/OpenHFT/Chronicle-Map/blob/343bb22247c17da12ee63b4099099c085fa0cf5f/pom.xml#L132-L137) because ChronicleMap |
|
Created OpenHFT/Chronicle-Map#587 on which this PR depends on. |
fixes https://osv.dev/vulnerability/GHSA-hfq9-hggm-c56q