setup-java/dist
Bruno Borges 2ef9b3852e fix: guard toolchain dedup and preserve existing root attributes
Address reviewer feedback on the Maven toolchains dedup logic:

- Treat jdk toolchains without a string `provides.id` as non-deduplicatable
  and use optional access when comparing ids, so partially-formed or
  nonstandard toolchains.xml files no longer crash setup.
- Preserve the existing `<toolchains>` root attributes (xmlns,
  schemaLocation, …) when present, falling back to the 1.1.0 defaults only
  for attributes the existing file is missing. This avoids silently
  rewriting user-managed metadata or changing the effective namespace.

Adds tests covering custom root attributes and id-less jdk toolchains, and
rebuilds dist/.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-06 15:16:16 -04:00
..
cleanup Update undici artifacts to 6.27.0 (license cache + dist) (#1040) 2026-06-22 16:43:17 -04:00
setup fix: guard toolchain dedup and preserve existing root attributes 2026-07-06 15:16:16 -04:00