The class CountriesFormOptionsDataSource uses an instance variable to store the I18n object. At scale, this will result in the wrong resource bundle being used single multiple concurrent invocations of this servlet will overwrite this object. Instead of an instance variable, it should be a local variable passed method to method.
The class CountriesFormOptionsDataSource uses an instance variable to store the
I18n
object. At scale, this will result in the wrong resource bundle being used single multiple concurrent invocations of this servlet will overwrite this object. Instead of an instance variable, it should be a local variable passed method to method.