Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support Java 21 (code tweak and CI tests) #1551

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Commits on Dec 8, 2023

  1. chore: use latest Java LTS version (21) in CI tests

    - update the setup-java action to v4
    - add Java 21 to the Java version matrix
    - update the JDK distribution to Eclipse Temurin (formerly AdoptOpenJDK)
    rdeltour committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    183a3a6 View commit details
    Browse the repository at this point in the history
  2. fix: tweak code and tests to better support Java 21

    - adapt code in OFCChecker to a slight rewording of the OpenJDK message
      reported for invalid ZIP headers, so that EPUBCheck can issue the right
      error code (PKG-017)
    - update the command line tests to no longer rely on the deprecated
      SecurityManager API to catch system exit codes. The tests now get
      the integer return code directly from the EpubChecker API
    rdeltour committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9888fcc View commit details
    Browse the repository at this point in the history