RE: ServiceLoader fails for Java 23 with preview enabled

2024-10-14 Thread Robert Scholte
documentation that confused me. Sorry for the noise, Robert From: Alan Bateman Sent: maandag 14 oktober 2024 18:09 To: rfscho...@apache.org; core-libs-dev@openjdk.org Subject: Re: ServiceLoader fails for Java 23 with preview enabled Christian Stein mentioned that this is something to due

Re: ServiceLoader fails for Java 23 with preview enabled

2024-10-14 Thread Uwe Schindler
Hi, I cannot confirm this. Apache Lucene (just released today in version 10.0.0, but also previous veersion 9.12.0) can open indexes just fine, both with preview enabled or not. I modified the start script of the "Luke" GUI to use classpath mode and add the "--enable-preview" flag. All varian

Re: ServiceLoader fails for Java 23 with preview enabled

2024-10-14 Thread Jaikiran Pai
Hello Robert, This certainly looks like a behavioural change that would need investigation. So yes, a reproducer will be helpful. -Jaikiran On 13/10/24 5:23 pm, Robert Scholte wrote: Hi, It seems there’s a change in the ServiceLoader, and it looks like regression to me. I’ve created a s

Re: ServiceLoader fails for Java 23 with preview enabled

2024-10-14 Thread Alan Bateman
Christian Stein mentioned that this is something to due 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 t