grpc / grpc/grpc-java

Catch exceptions thrown by Executor.execute

Aperta
#636 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug P2
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

direct executor lets RuntimeExceptions pass through the call stack. We need to defend against that in places we would permit direct executor. Even without direct executor, execute can throw with rejected exception, so it is really a case we should handle.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the call sites where Executor.execute is used and identify the paths that permit a direct executor. Trace how RuntimeException and rejected-execution exceptions propagate, then verify that those permitted paths handle them without letting them escape unexpectedly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
api
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.