Affects Version/s: 1.2 Final
Fix Version/s: 1.4
I have only one FunctionLibrary which is shared between all thread of my application.
When I execute the getFunction method for the first time, the cache is prepared. But if many thread access the function for first time during the cache creation, there is a problem because the byNamespace variable is not null but still empty.
The first solution would be to synchronize the getFunction method or to add a synchronized block around the prepare cache method call.
What do you think about that ?