Skip to content
Snippets Groups Projects

Fix build failures with openjdk-21

Merged Pushkar Kulkarni requested to merge pushkarnk/libeuclid-java:fix-1052694 into master

The class ThriftyList implements both java.util.Deque and java.util.List. In Java 21, these classes define a reversed() method returning a object of their own type. This makes them incompatible in Java 21. This problem still exists in the upstream project. Hence, this commit proposes compiling the package at the JDK 17 API level to work around the problem until a better solution is figured out upstream.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading