RE: ServiceLoader fails for Java 23 with preview enabled

2024-10-14 Thread Robert Scholte
with Surefire not supporting JDK 23 class files, is that right? -Alan On 13/10/2024 12:53, Robert Scholte wrote: Hi, It seems there’s a change in the ServiceLoader, and it looks like regression to me. I’ve created a small project to reproduce it (I can provide it if wanted and confirmed

ServiceLoader fails for Java 23 with preview enabled

2024-10-14 Thread Robert Scholte
rElseThrow(Optional.java:377) at nl.sourcegrounds.serviceloader.tck.CarTest.(CarTest.java:16) Anyone who can already explain this with this small amount of information? Thanks, Robert Scholte These are the details for both versions (Windows OS) openjdk version "22"