(I hadn't been subscribed to this list but now am.) On 01/22/12 06:23, David Holmes wrote:
1. When FutureTask.run() is not used, and only FutureTask.set() is used, FutureTask.set() will race with FutureTask.get().
Yes. This (and some related cases) were not originally intended supported usages, but someone pointed out last spring that the spec did not rule them out. So it is now explicitly covered in revised base sources, that have been running successfully for months (including in Android builds). We usually let changes settle for a while before merging into openJDK . This should be among the next ones to merge in. -Doug
