Community
Participate
Working Groups
I'm currently looking at the implementation of the Persistence API from: http://git.eclipse.org/c/eclipselink/javax.persistence.git/ There is a bug in the javax.persistence.spi.PersistenceProviderResolverHolder.DefaultPersistenceProviderResolver.addProviderNames(URL, Collection<ProviderName>) file: src/javax/persistence/spi/PersistenceProviderResolverHolder.java According to the JavaDoc of the ServiceLoader class, the services file must be encoded in UTF-8: http://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html So when running with "file.encoding=IBM-273" the service class is getting read from above service file with the incorrect encoding and later the class cannot be found! I think the correct fix would be to either use the ServiceLoader class or always read the file with encoding UTF-8.
Created attachment 251824 [details] Always read with UTF8
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink