You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 2.8.0.rc1 the relative path becomes a "file:///" URI in the JSON string, which is an absolute URI including my current working directory, and then after deserializing it remains an absolute path. In the second test, the absolute path gets prepended with "C:" (I'm using Windows).
It turns out I'm not actually serializing Path objects anywhere except my tests. They're leftovers from previous functionality. So I personally have no problem with simply deleting my tests.
The JSON serialization of
java.nio.file.Path
changed between 2.7.4 and 2.8.0.rc1, causing a couple of my tests to fail:In 2.8.0.rc1 the relative path becomes a "file:///" URI in the JSON string, which is an absolute URI including my current working directory, and then after deserializing it remains an absolute path. In the second test, the absolute path gets prepended with "C:" (I'm using Windows).
It turns out I'm not actually serializing
Path
objects anywhere except my tests. They're leftovers from previous functionality. So I personally have no problem with simply deleting my tests.Maybe this change should be called out in the release notes though? I didn't see anything about it here: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.8
The text was updated successfully, but these errors were encountered: