Comments (2)
This is an interesting test case, I'll have to digest it a bit to figure out how to approach it. To comment on a couple of issues, yes I believe there is some static caching that happens in core Jackson that might be available across ObjectMapper
instances to explain some of the behavior.
As for the java/scala behavior differences, my current working theory would be that the scala code does some additional classloading that's not done by the java code, that allows the ObjectMapper to find the deserializer; but that's pretty far fetched at this point, and I won't know more until I have a chance to write some Java tests and step through the code.
I've got some hefty refactoring to do in the codebase for 2.2 that needs to happen first; with luck issues like this will be taken care of along the way, but if it isn't I'll take a look at this when I'm closer to release time.
from jackson-module-scala.
I've added a test case for this and it appears to be passing now. If you're still having trouble using 2.2.0-SNAPSHOT, I'll reopen it.
from jackson-module-scala.
Related Issues (20)
- investigate major binary compatibility regressions caused by jackson-databind 2.15.0-rc3-SNAPSHOT HOT 4
- Release 2.15.0-rc3 HOT 3
- Release 2.15.0 (final) HOT 2
- Update 2.15 release notes with Scala changes HOT 2
- Release 2.14.3 HOT 2
- Upgrade to Scala 3.3.0
- Release 2.15.1 HOT 1
- support deserializing Scala Iterators HOT 1
- Release 2.15.2 HOT 2
- Dependency on .class and .tasty files causes footprint bloat for GraalVM NativeImage HOT 5
- Failure to deserialise scala Map when default typing is activated HOT 10
- DefaultScalaModule breaks deserialization of java classes HOT 13
- 2.16 jackson-databind deserialization changes have broken support for the scala.util.Either class HOT 1
- Collection of case classes deserialized as Collection of Map2 HOT 4
- Release 2.15.3 HOT 4
- Release 2.16.0-rc1 HOT 1
- error when deserializing yaml HOT 2
- Release 2.16.0 HOT 2
- release jackson-module-scala v2.12 for Scala 2.10 HOT 2
- Release 2.16.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jackson-module-scala.