t1 / problem-details

Problem Details [RFC-9457] Java API, TCK, and implementations for JAX-RS and (currently not) Spring Boot
Apache License 2.0
17 stars 5 forks source link

fix compatibility with jdk 17 #97

Closed t1 closed 1 year ago

t1 commented 1 year ago

We use Jakarta JSON Binding to deserialize an exception (with their extensions). This worked well with JDK 11, but in JDK 17, it fails with a jakarta.json.bind.JsonbException: Internal error: Unable to make field private java.lang.Throwable java.lang.Throwable.cause accessible: module java.base does not "opens java.lang" to unnamed module.