Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The method DomainValidator.getTLDEntries is currently unsynchronized.
This means that there may be issues with the contents of the mutable override arrays.
Although the arrays are marked volatile, that does not protect the array entries.
Note: although #isValid() is not synchronised, this can only be used after calling a synchronised getInstance.
AFAICT there is no point in leaving the arrays volatile.