-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P4
-
None
-
Affects Version/s: 5.0
-
Component/s: core-libs
-
sparc
-
solaris_8
Bug in schedule(command,date) method of ScheduledExecutor class.
Sample code for reproducing bug.
/* sample code */
Calendar rightNow = Calendar.getInstance();
rightNow.add(Calendar.DATE, 2);
executor.schedule(new Job(), rightNow.getTime());
In this case job should be executed after 2 days. But it
executes it immediately.
This is a backlog bug and added to bugtraq just for tracking purpose.
It has been fixed.
Sample code for reproducing bug.
/* sample code */
Calendar rightNow = Calendar.getInstance();
rightNow.add(Calendar.DATE, 2);
executor.schedule(new Job(), rightNow.getTime());
In this case job should be executed after 2 days. But it
executes it immediately.
This is a backlog bug and added to bugtraq just for tracking purpose.
It has been fixed.