jlahoda opened a new pull request #2157: URL: https://github.com/apache/netbeans/pull/2157
…oving to it. This is an attempt to alleviate https://issues.apache.org/jira/browse/NETBEANS-3858. I am not sure what is causing the issue there, but this patch will simply call hasNext() before calling next(). I guess the issue (as some other issues with the class) is that it was not expected the class would be used from multiple threads, but it is. So, for the next version, I'll try to rewrite the cache to be thread safe. But this is a safe approach, which is likely to help, which we can use for NetBeans 12.0, if the RM decides so. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
