Reverting ScheduledThreadPoolExecutor behaviour for delayed tasks
The ScheduledThreadPoolExecutor behaviour for delayed tasks has
changed as part of the update to OpenJDK 11+28. The tasks which
are expired would not get cancelled during a shutdown. Before
their handling was done in the same way as non-expired tasks.
In order to maintain behaviour, this handling has been reverted.
The JSR166 tests have also been. The updated ojluni tests have
remained unchanged as these tests are due to get a significant
modification as part of b/202865647.
Bug: 202927404
Test: atest ScheduledExecutorSubclassTest
Test: atest ScheduledExecutorTest
Change-Id: Ib378faf30c0fea74218c9c92f6b18186a78405fc
3 files changed