Using a GreyPalette from multiple threads, I get an ArrayIndexOutOfBoundsException. The reason is that different methods access fields such as minZ and maxZ without any synchronization.
I attach a minimal example to reproduce the problem.
I'm not 100% sure whether this class is supposed to be thread-safe. I assume that it should be because the developer guide for version 1.0.4 mentions that JFreeChart should eventually be thread-safe.
Thanks for fixing this issue!
Log in to post a comment.