A question was asked with the tags java and multithreading. The asker is creating threads manually and trying to synchronize access between threads by creating his own thread pool.
Later, an answer was posted to this question. It said that using ExecutorService
(provided by Java) is a good solution to the problem but it wasn't available when the question was asked.
There is an existing executorservice tag that was not part of the original question. Should that be added? Is it good practice to update the question with applicable tags, as evidenced by a new answer?
One advantage that I see to adding the tag is that the question will get more attention from people who follow the new tag. Those people can provide some more good solutions, or improve the existing answers.
I have gone through Tagging a question based on its answers but it does not address the lateness of the answer.
What if the user did not accept the answer, and the community up-voted the answer?
What if the question is very old (like 7 years) and community is providing answers with latest technical advances? (E.g. pre Java 8, interface does not have implementation. Since Java 8, you can have static and default methods in interfaces.)
e.g.
Why can't I define a static method in a Java interface?
Is there more to an interface than having the correct methods
In this case, can I update the question with tag "java-8" by highlighting Java 8 features in the answer?