Giter Site home page Giter Site logo

Comments (2)

christophercurrie avatar christophercurrie commented on May 25, 2024

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.

christophercurrie avatar christophercurrie commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.