eclipse-jdt/eclipse.jdt.core
Ver no GitHubProblem arguments must be consistent
Open
#3.556 aberto em 14 de jan. de 2025
good first issue
Métricas do repositório
- Stars
- (233 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Several methods in ProblemReporter pass inconsistent problem arguments to handle(..)
- one variant of problem arguments is passed as
NoArgumentor similar - the other variant passes a non-empty array
This will blow up whenever the error message (containing placeholders {0} ...) should be rendered using NoArgument: will try to read [0] from the 0-length array => AIOOBE. One case was observed in the context in JSR 199, where each and every such occurrence can throw.