Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use general service loading instead of Image I/O-specific #18

Merged
1 commit merged into from
May 6, 2016

Conversation

ghost
Copy link

@ghost ghost commented May 6, 2016

In Java 9, javax.imageio.spi.ServiceRegistry checks if the requested service is an implementation of the Image I/O service provider interface. This module used the Image I/O service registry for loading external utility services like logging and caching. This is not an intended use and is now prohibited by the Java 9 runtime. javax.imageio.spi.ServiceRegistry uses 'java.util.ServiceLoader' internally.

The lookups done by javax.imageio.spi.ServiceRegistry are replaced by that of 'java.util.ServiceLoader'. This fixes issue #10.

In Java 9, `javax.imageio.spi.ServiceRegistry` checks if the requested service is an implementation of the Image I/O service provider interface. This module used the Image I/O service registry for loading external utility services like logging and caching. This is not an intended use and is now prohibited by the Java 9 runtime. `javax.imageio.spi.ServiceRegistry` uses 'java.util.ServiceLoader' internally.

The lookups done by `javax.imageio.spi.ServiceRegistry` are replaced by that of 'java.util.ServiceLoader'. This fixes issue #10.
@ghost ghost added the bug label May 6, 2016
@ghost ghost added this to the 2.0.0 milestone May 6, 2016
@ghost ghost merged commit 5720a19 into master May 6, 2016
@ghost ghost deleted the bugfix/replace-ServiceRegistry-with-ServiceLoader-#10 branch May 6, 2016 10:38
@ghost ghost mentioned this pull request Jun 2, 2017
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant