Giter VIP home page Giter VIP logo

Comments (4)

guaporocco avatar guaporocco commented on July 21, 2024

I should add that modules could also help structure Jacksons code. jackson-databind depends on java.desktop, java.sql, and java.xml, for example, and since most developers don't make use of when using Jackson, databind could be split into modules databind.sql, databind.xml, etc.

from jackson-parent.

cowtowncoder avatar cowtowncoder commented on July 21, 2024

Please do not file issues suggesting wide-ranging fundamental changes; instead bring them up on mailing lists. That's a good place to discuss these.

There are plans to use Moditect to make 2.10 and onwards (more) forwards-compatible, being built using JDK 8, but having basic module definitions, but still targeting Java 7 bytecode. Latter may become non-goal.

For 3.x this is the minimum baseline as well: baseline was moved to Java 8.
At this point I would like to make things work with module system, but have no personal interest in JDKs beyond 8, feature-wise yet. This may change depending on how long it will still take to get to 3.0 release, as well as adoption. At work, for example, I would not be able to use anythjing that relies on Java 11. Adoption has been slow, due to the way Oracle decide to force their ill-advised module upgrade, which essentially requires all-or-nothing approach.
Things will move along, of course, but I don't want to be on the bleeding edge working for things I have serious reservations about.

from jackson-parent.

guaporocco avatar guaporocco commented on July 21, 2024

Using Moditect to generate module definitions would be very nice, hopefully databind is published in multiple modules (so that one does not have to rely on all each java.[xml, desktop, sql]).

I agree that the module system is somewhat of a pain and will have slower adoption. It's quite useful to build super-small docker images though (has saved us some money at least). And I'd expect that when Valhalla releases with value types in a year or two, there will be a big migration like with lambdas.

from jackson-parent.

cowtowncoder avatar cowtowncoder commented on July 21, 2024

The issue of what to do with non-core JDK datatypes is interesting. Perhaps it'd be best to cleave them out and add a separate "jackson-datatype-jdk[11]"...

As to Moditect, I will either need to find time to dig into it, or get help -- some contributors have helped with prototype, but I don't think we have yet functional solution that I find good enough (there have been discussions on baseline, requirements and so on).

from jackson-parent.

Related Issues (10)

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.