grpc / grpc/grpc-java

Catch exceptions thrown by Executor.execute

Offen
#636 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug P2
Vorherrschende Sprache
Java
Sterne
12.1k
Forks
4k
Ø Merge
2 T. 17 Std.
Gemergte PRs (30 T.)
37

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
api
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.