mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Java: enable exception characteristic also for source candidates
This commit is contained in:
@@ -329,7 +329,6 @@ private class ExceptionCharacteristic extends CharacteristicsImpl::NotASinkChara
|
||||
ExceptionCharacteristic() { this = "exception" }
|
||||
|
||||
override predicate appliesToEndpoint(Endpoint e) {
|
||||
e.getExtensibleType() = "sinkModel" and
|
||||
ApplicationModeGetCallable::getCallable(e).getDeclaringType().getASupertype*() instanceof
|
||||
TypeThrowable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user