Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: electrum/setup-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: actions/setup-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 67 files changed
  • 6 contributors

Commits on Nov 4, 2026

  1. chore(deps): bump the monthly-npm-updates group with 12 updates (acti…

    …ons#1309)
    
    * chore(deps): bump the monthly-npm-updates group with 12 updates
    
    Bumps the monthly-npm-updates group with 12 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) | `6.2.0` | `6.3.0` |
    | [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) | `5.11.1` | `5.11.2` |
    | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.2` | `26.6.5` |
    | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.70.1` | `8.72.0` |
    | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.70.1` | `8.72.0` |
    | [eslint](https://github.com/eslint/eslint) | `10.11.0` | `10.13.0` |
    | [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `29.16.6` | `29.17.0` |
    | [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) | `18.3.0` | `18.5.0` |
    | [globals](https://github.com/sindresorhus/globals) | `17.12.0` | `17.13.0` |
    | [lint-staged](https://github.com/lint-staged/lint-staged) | `17.5.1` | `17.6.0` |
    | [prettier](https://github.com/prettier/prettier) | `3.9.9` | `3.9.10` |
    | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.4.13` | `29.4.15` |
    
    
    Updates `@actions/cache` from 6.2.0 to 6.3.0
    - [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md)
    - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache)
    
    Updates `fast-xml-parser` from 5.11.1 to 5.11.2
    - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
    - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
    - [Commits](NaturalIntelligence/fast-xml-parser@v5.11.1...v5.11.2)
    
    Updates `@types/node` from 26.6.2 to 26.6.5
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
    
    Updates `@typescript-eslint/eslint-plugin` from 8.70.1 to 8.72.0
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.0/packages/eslint-plugin)
    
    Updates `@typescript-eslint/parser` from 8.70.1 to 8.72.0
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.0/packages/parser)
    
    Updates `eslint` from 10.11.0 to 10.13.0
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Commits](eslint/eslint@v10.11.0...v10.13.0)
    
    Updates `eslint-plugin-jest` from 29.16.6 to 29.17.0
    - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
    - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
    - [Commits](jest-community/eslint-plugin-jest@v29.16.6...v29.17.0)
    
    Updates `eslint-plugin-n` from 18.3.0 to 18.5.0
    - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
    - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
    - [Commits](eslint-community/eslint-plugin-n@v18.3.0...v18.5.0)
    
    Updates `globals` from 17.12.0 to 17.13.0
    - [Release notes](https://github.com/sindresorhus/globals/releases)
    - [Commits](sindresorhus/globals@v17.12.0...v17.13.0)
    
    Updates `lint-staged` from 17.5.1 to 17.6.0
    - [Release notes](https://github.com/lint-staged/lint-staged/releases)
    - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
    - [Commits](lint-staged/lint-staged@v17.5.1...v17.6.0)
    
    Updates `prettier` from 3.9.9 to 3.9.10
    - [Release notes](https://github.com/prettier/prettier/releases)
    - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/prettier@3.9.9...3.9.10)
    
    Updates `ts-jest` from 29.4.13 to 29.4.15
    - [Release notes](https://github.com/kulshekhar/ts-jest/releases)
    - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
    - [Commits](kulshekhar/ts-jest@v29.4.13...v29.4.15)
    
    ---
    updated-dependencies:
    - dependency-name: "@actions/cache"
      dependency-version: 6.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: fast-xml-parser
      dependency-version: 5.11.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: monthly-npm-updates
    - dependency-name: "@types/node"
      dependency-version: 26.6.5
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: monthly-npm-updates
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-version: 8.72.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: "@typescript-eslint/parser"
      dependency-version: 8.72.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: eslint
      dependency-version: 10.13.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: eslint-plugin-jest
      dependency-version: 29.17.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: eslint-plugin-n
      dependency-version: 18.5.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: globals
      dependency-version: 17.13.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: lint-staged
      dependency-version: 17.6.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: monthly-npm-updates
    - dependency-name: prettier
      dependency-version: 3.9.10
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: monthly-npm-updates
    - dependency-name: ts-jest
      dependency-version: 29.4.15
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: monthly-npm-updates
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * chore: rebuild dist bundles
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * chore: refresh npm license cache
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Bruno Borges <brborges@microsoft.com>
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    3 people authored Nov 4, 2026
    Configuration menu
    Copy the full SHA
    e144521 View commit details
    Browse the repository at this point in the history
  2. Fix Liberica Java 25 release resolution (actions#1313)

    * Fix Liberica multi-component patch resolution
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * Fix Liberica patch version ordering
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    brunoborges and Copilot authored Nov 4, 2026
    Configuration menu
    Copy the full SHA
    ef0b922 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dade0c5 View commit details
    Browse the repository at this point in the history
  4. Support exact Corretto release versions (actions#1310)

    * Support exact Corretto release versions
    
    Corretto users cannot pin the release used by their local builds and
    production. Accept full release numbers so a workflow keeps using its
    chosen release after Amazon publishes a newer patch.
    
    * Fix Corretto release review findings
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Bruno Borges <brborges@microsoft.com>
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    3 people authored Nov 4, 2026
    Configuration menu
    Copy the full SHA
    644a850 View commit details
    Browse the repository at this point in the history
  5. Support Maven mirrors in generated settings.xml (actions#1289)

    * Support Maven mirrors in generated settings.xml
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 59df028a-0d1b-49cb-8126-ab26408663e4
    
    * Reject Maven mirrors missing selectors after URL authorities
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 59df028a-0d1b-49cb-8126-ab26408663e4
    
    * Use self-repository syntax in Maven mirrors E2E
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 59df028a-0d1b-49cb-8126-ab26408663e4
    
    * Document mvn-mirrors URL scheme and colon encoding requirements
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 59df028a-0d1b-49cb-8126-ab26408663e4
    
    ---------
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    Copilot-Session: 59df028a-0d1b-49cb-8126-ab26408663e4
    brunoborges and Copilot authored Nov 4, 2026
    Configuration menu
    Copy the full SHA
    77dd5b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2026

  1. Architecture validation for JDK file installs (actions#1324)

    * Enhance architecture validation and error handling
    
    * Improve architecture normalization and validation for custom tokens
    
    * Refactor architecture validation to consolidate error handling for invalid tokens
    v-mahabaleshwars authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    9ce5b12 View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump fast-xml-parser from 5.11.2 to 5.12.0 (actions#1323)

    * chore(deps): bump fast-xml-parser from 5.11.2 to 5.12.0
    
    Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.11.2 to 5.12.0.
    - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
    - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
    - [Commits](NaturalIntelligence/fast-xml-parser@v5.11.2...v5.12.0)
    
    ---
    updated-dependencies:
    - dependency-name: fast-xml-parser
      dependency-version: 5.12.0
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Fix generated dist and license records
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Bruno Borges <brborges@microsoft.com>
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    3 people authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    a3c8068 View commit details
    Browse the repository at this point in the history
  3. Add Microsoft OpenJDK 25.0.5.0.2 support (actions#1320)

    * Initial plan
    
    * Support Microsoft OpenJDK 25.0.5.0.2 with bundled manifest fallback
    
    * Fix Microsoft OpenJDK version matching
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: Bruno Borges <brborges@microsoft.com>
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    3 people authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    a1bf0b5 View commit details
    Browse the repository at this point in the history
  4. Fix JetBrains Runtime hotfix version selection (actions#1321)

    * Initial plan
    
    * Fix JetBrains hotfix version selection and cache precedence
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: Bruno Borges <brborges@microsoft.com>
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    3 people authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    5fb63c9 View commit details
    Browse the repository at this point in the history
  5. Make Java problem matcher opt-in (actions#1326)

    Default the problem-matcher input to false so setup-java no longer
    registers Java compiler and uncaught-exception annotations unless
    explicitly enabled with problem-matcher: true.
    
    Fixes actions#1322
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    brunoborges and Copilot authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    d1374f8 View commit details
    Browse the repository at this point in the history
  6. Fix Oracle JDK 21 e2e and warn on archived GA fallback (actions#1327)

    Oracle no longer serves JDK 21 under /java/21/latest/, so a major-only
    request falls back to the archived 21 GA build and reports version 21.
    The e2e check required a concrete version for floating Oracle requests,
    so the oracle 21 jobs failed.
    
    Move floating Oracle e2e coverage to JDK 25 and keep a single oracle 21
    job that exercises the archive fallback without the concrete-version
    requirement. Warn when a major-only request falls back from /latest/ to
    the archived GA release, since that build may lack security updates.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    brunoborges and Copilot authored Nov 14, 2026
    Configuration menu
    Copy the full SHA
    3c7a629 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2026

  1. Add daily latest JDK versions report workflow (actions#1329)

    * Add daily latest JDK versions report workflow
    
    Add a scheduled workflow that resolves, without downloading, the exact
    version each distribution currently provides for the LTS majors, the
    newest feature release, and `latest` on Linux, macOS, and Windows for
    x64 and aarch64. Resolution reuses each installer's metadata lookup, so
    the report matches what setup-java installs on a tool-cache miss or with
    `check-latest: true`. Results are combined into a job summary with a
    per-platform breakdown and a section for distributions needing
    attention. Link the report from the README.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * Report every supported platform in latest JDK versions report
    
    Resolve each distribution on every OS and architecture in the capability
    map, including Alpine Linux, and render a full per-platform table for each
    distribution instead of a merged overview. Platform differences are
    expected and no longer flagged; only lookup errors and distributions that
    resolve nothing are listed under "Needs attention".
    
    Share HEAD responses per distribution so JetBrains lookups no longer
    re-probe every release URL, cutting a Linux run from ~7 min to ~1 min.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    * Complete JDK report platform and major coverage
    
    Resolve every major from Java 6 through the newest GA release, including non-LTS versions. Query Liberica Solaris metadata through its installer and include Solaris in the workflow matrix. Preserve exact per-platform versions without flagging normal differences.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    brunoborges and Copilot authored Nov 18, 2026
    Configuration menu
    Copy the full SHA
    3fc1c6e View commit details
    Browse the repository at this point in the history
Loading
⌂ Proxy