-
Bug
-
Resolution: Done
-
None
-
unspecified
-
None
-
Operating System: All
Platform: All
-
6472
-
Highest
The reaper threads' daemon property is not set. This prevents them from exiting when JVM halts.
private static final ThreadFactory FUTURE_REAPER_THREAD_FACTORY = new ThreadFactoryBuilder() .setNameFormat("OVSDB-Lib-Future-Reaper-%d").build(); private static final ScheduledExecutorService FUTURE_REAPER_SERVICE = Executors.newScheduledThreadPool(REAPER_THREADS, FUTURE_REAPER_THREAD_FACTORY);
The daemon property needs to be set. Any application that uses this library will not be able to terminate in the case of an exception scenario.