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
As I understand module com.fasterxml.jackson.datatype.jsr310.JSR310Module is left for compatibility and com.fasterxml.jackson.datatype.jsr310.JavaTimeModule should be default one. However when using ObjectMapper.findAndRegisterModules() with JPMS in Java9+ JSR310Module is loaded as declared in module-info.java.
It should be changed as in #126 to maintain same behavior between modularized and non-modularized environments.
The text was updated successfully, but these errors were encountered:
karbi
pushed a commit
to APDU-pl/jackson-modules-java8
that referenced
this issue
Jan 3, 2023
Yes, you are absolutely correct @karbi. Happy to merge this, but as per my comment on PR, needs to be against 2.15 -- although I think it's the right thing to do I am hesitant to do this in patch as it's technically changing behavior.
cowtowncoder
changed the title
Incorrect module auto-registred when using JPMS
Incorrect module auto-registered when using JPMS
Jan 8, 2023
cowtowncoder
changed the title
Incorrect module auto-registered when using JPMS
Wrong module auto-registered when using JPMS
Jan 8, 2023
As I understand module
com.fasterxml.jackson.datatype.jsr310.JSR310Module
is left for compatibility andcom.fasterxml.jackson.datatype.jsr310.JavaTimeModule
should be default one. However when usingObjectMapper.findAndRegisterModules()
with JPMS in Java9+JSR310Module
is loaded as declared in module-info.java.It should be changed as in #126 to maintain same behavior between modularized and non-modularized environments.
The text was updated successfully, but these errors were encountered: