Hi,

 

Please review the following fix in JDK9:

 

Bug : https://bugs.openjdk.java.net/browse/JDK-8022640 

 

Webrev : http://cr.openjdk.java.net/~jdv/8022640/webrev.00/ 

 

Issue : ServiceRegistry (used by ImageIO) lack synchronization.

 

Root cause : Service Provider API's are not synchronized and concurrent access 
to its API's result in ConcurrentModificationException.

 

Solution : Both ServiceRegistry and IIORegistry use SubRegistry class for 
Service Provider API's. Making methods present in SubRegistry synchronized will 
help us in achieving synchronization.

 

Thanks,

Jay

Reply via email to