2. Additional test have shown that, indeed, under specific circumstances (the initial delay is not explicitly set) the Timer might fire the first event immediately after calling the start() method.
From the code is seen that the initial delay field is not initialised in
constructor, leaving it with the default value 0.
Both problems can be fixed by setting this field to the constructor parameter value.
Audrius Meskauskas
Timer_2.java.diff
Description: Binary data
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
