Skip to content

Commit 8173e16

Browse files
author
jan
committed
prevent several errors on RuedigerMoeller#311 pull request !
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "org.nustaq.serialization.FSTObjectRegistry.clearForWrite(org.nustaq.serialization.FSTConfiguration)" because "this.objects" is null --- Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "org.nustaq.serialization.FSTClazzNameRegistry.clear()" because "this.clnames" is null
1 parent 12b185d commit 8173e16

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,19 @@
1313
<version>2.57mod1-jdk17</version>
1414
<packaging>bundle</packaging>
1515

16-
<description>A fast java serialization drop in-replacement and some serialization based utils such as Structs and OffHeap Memory.</description>
16+
<description>A fast java serialization drop in-replacement and some serialization based utils such as Structs and OffHeap Memory.
17+
18+
19+
EXPERIMENTAL EDIT of FST 3.x java17 branch --&gt; backport to 2.57 (maven 2.57 sources, not github)
20+
21+
I am not familiar with the internals of FST, but luckily I have managed to succesfully merge the 2.57 version with the latest java-17 additions from 3.0.3-jdk17 branch. I do not know what bugs or side effects those moddifications might arise. Actualy it is an experimental FST 3.0.3 java17 branch backport to the latest 2.x (maven sources). The perpose is to use the new java17 APIs to 2.x version in order not to break 2.x serialized files. Upgrading to to 3.x version breaks serialization/deserialization, 3.x files are incompatible with 2.x files. (you need to write a converter to do so).
22+
23+
Some pull requests have been merged also. It seems to work, but since I only use it as a direct in place replacement for native serializer, I cannot test it in its full extend.
24+
25+
Use at your own risk, test it carefully on your specific project, it might work!
26+
27+
--&gt; 257jdk17_mod1 branch
28+
</description>
1729
<url>http://ruedigermoeller.github.io/fast-serialization/</url>
1830

1931
<licenses>

0 commit comments

Comments
 (0)