open-telemetry / open-telemetry/opentelemetry-java

[contribfest] Address FIXME in BaggageCodec

Open
#7,235 3 comments 0 reactions 1 assignee View on GitHub

@rlacksgus97 is already working on this.

Since Apr 2, 2025.

contribfest
Dominant language
Java
Stars
2.5k
Forks
1k
Avg merge
3d 17h
Merged PRs (30d)
58

Description

There is a FIXME comment in the BaggageCodec class, which is intended to instruct developers to circle back and guard against the ArrayIndexOutOfBoundsException from being thrown.

We should add a guard and ensure that the tests that expect the AIOOB are changed to reflect this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.