ImageReader thread safety
I am using an api (imageio-ext) that is synchronizing a private map winthin thier custom ImageReader. The map is not static. I have always assumed that they did this because maybe imageio would hold on to readers and give the same instance. However after reading this: http://docs.oracle.com/javase/1.4.2/docs/guide/imageio/spec/goals.fm2.html, I am not so sure that is the case.
When imageio uses the SPI to create a reader does it always create a new reader?
i.e. If I don't specify a reader SPI should create a reader for me (and it does), but will I always get a new one?
ParameterBlockJAI params = new ParameterBlockJAI();
If I will always get a new reader I am a little puzzled by imageio-ext synchronization.
If I am missing something please let me know, thanks in advance/