-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 11: Unable to load JDK7 types (annotations, java.nio.file.Path): no Java7 support added #2446
Comments
Not sure there is a clean way to do much about this unfortunately (since Jackson can't really use any features of Java 8 or beyond as 2.x only requires JDK 6 runtime, JDK 7 compilation). |
@cowtowncoder if you remember this was one of those requires static to make it optional, forcing the client to specify whether they want it or not. I dont recommend making it mandatory. @dconnelly This was an intentional decision by me to specify it as optional, in your module info you will need to specify it as a required module, the other route is to change the implementation or to make the dependency requires transient. Let me know your thoughts |
Ah. Yes, now I remember -- since this particular type came from non-core part of JDK? But I think it's sort of confusing just because I think Let me think about this for a bit now that 2.10 is about to be finalized. |
Ok, so, for 2.10 I split |
I think this (and #2466) is badly broken with |
For anyone following, there is: #2744 for Android part -- question of Java 11 is little bit different. |
Might be OK to ignore for now but seeing this warning when running with a jlink'd minimal Java 11 image:
On closer inspection it looks like
com.fasterxml.jackson.databind.ext.Java7SupportImpl
tries to load the annotationjava.beans.Transient
to detect Java 7 but this doesn't work on Java 11+ without the fulljava.desktop
module dependency.The text was updated successfully, but these errors were encountered: