On 19/09/14 10:21, Alan Bateman wrote:
On 19/09/2014 10:14, Chris Hegarty wrote:
Thank you Martin and Alan. This does indeed look better.
Since this is a small specification clarification, of existing
behavior, then a CCC should be filed so it is included in the next
Java SE maintenance review, gets JCK attention, etc. I will do this.
It's just repeating the assertions that are already in the javadoc of
schedule methods. The only new wording is just the statement that timer
tasks aren't resuable but that is implied anyway.
OK, got it. No CCC is required since this is already implied.
From Timer.schedule(...)
"IllegalStateException - if task was already scheduled or cancelled,
timer was cancelled, or timer thread terminated."
-Chris.