Skip to content

AbstractMappingContext not compatible with JDK 17 anymore and violates open JDK security policy. #2845

Closed as not planned
@amidukr

Description

@amidukr

The latest Java guideline mandates that the library should not use the reflection of setAccessible(true) on java., sun., com.sun.* package and this is what is done by AbstractMappingContext, which violates security guidelines and makes Spring Data legacy framework not compatible with JDK 17 anymore.

You can see more about that on the official java page.
https://docs.oracle.com/en/java/javase/17/migrate/migrating-jdk-8-later-jdk-releases.html#GUID-12F945EB-71D6-46AF-8C3D-D354FD0B1781

Any chance that Spring Data become compatible with a later version of JDK starting with JDK 9 and so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions