Skip to content
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

Seems like java.nio.file.Path is safe for Android API level 26 #3708

Merged
merged 2 commits into from Dec 25, 2022

Conversation

pjfanning
Copy link
Member

  • Jackson 2.14 now requires Java 8 and Android API level 26 or above
  • this changes saves some reflection lookups but doesn't change the jackson API

@cowtowncoder cowtowncoder merged commit c8fd50f into FasterXML:2.15 Dec 25, 2022
@cowtowncoder cowtowncoder changed the title seems like java.nio.file.Path is safe for Android API level 26 Seems like java.nio.file.Path is safe for Android API level 26 Dec 25, 2022
cowtowncoder added a commit that referenced this pull request Dec 25, 2022
@pjfanning
Copy link
Member Author

@cowtowncoder I looked at https://developer.android.com/reference/java/nio/file/Path and this class was added in API level 26. There is no sign of java.beans.Transient being added yet. So that support class will need to stick with Reflection.

@pjfanning pjfanning deleted the java7-handlers-refactor branch December 25, 2022 22:56
@cowtowncoder
Copy link
Member

@pjfanning I vaguely recall this being the case... these are sort of weird types and not included in base jdk modules for Java 9 and later on but requiring java.beans module instead.

Something to consider wrt 3.0 is, I think, whether to actually just drop support. But for 2.x let's leave reflection in, cannot drop without breaking expected backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants