keith-turner opened a new pull request, #6068:
URL: https://github.com/apache/accumulo/pull/6068

   ScheduledThreadPoolExecutor.execute() will silently eat uncaught exceptions. 
 This change makes calls to that method fail in order to prevents its use in 
Accumulo.  
   
   This [impl code][1] in java returns a future that is dropped on the floor.  
That future object will catch any uncaught exceptions.  The javadoc for the 
method states ` Instead, the {@code Throwable} thrown by such a task can be 
obtained via {@link Future#get}.`  however that future is inaccessible so not 
sure how it expects that do be done.
   
   [1]: 
https://github.com/openjdk/jdk/blob/42439eb60c4488711f182d0d6ee5165b4972b99d/src/java.base/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java#L692


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to