Skip to content

docs: README-dev describes the multiversion JDK choice as a version range #1109

Open

Description

@nikagra

README-dev.md:22, added by #1004, describes the per-branch JDK selection as a version range:

docs/_utils/javadoc-multiversion.sh selects the JDK per branch: branches up to scylla-4.19.0.x need JDK 8, newer ones JDK 11.

javadoc-multiversion.sh:5-28 is an allowlist, not a range, and scylla-3.x sits in its JDK 8 arm — which is not "up to scylla-4.19.0.x" under any ordering. As written, someone adding scylla-4.20.0.x concludes the JDK is derived from the version number and skips step 2 of the instructions directly below. #1080 adds scylla-3.x to BRANCHES, so this is about to mislead its reviewer.

-`docs/_utils/javadoc-multiversion.sh` selects the JDK per branch: branches up to `scylla-4.19.0.x` need JDK 8, newer ones JDK 11.
+`docs/_utils/javadoc-multiversion.sh` selects the JDK per branch: the branches listed in it build with JDK 8, everything else with JDK 11.

Same file, line 9 — four lines above that section and contradicted by it. Prerequisites say:

  • Java JDK 11 or higher

but every branch currently in BRANCHES needs JDK 8, and the selection reads JAVA_HOME_8_X64 / JAVA_HOME_11_X64, which only actions/setup-java sets. Locally both are unset, javadoc-multiversion.sh:41 takes the default-JDK path for all 16 versions, and each frozen branch then dies on class file has wrong version 55.0, should be 53.0 — a build that looks like it worked.

-- Java JDK 11 or higher
+- Java JDK 8 and 11 (the multiversion build selects per branch via `JAVA_HOME_8_X64` / `JAVA_HOME_11_X64`)

Raised on #1004 as a Minor and by CodeRabbit in both review rounds; the PR squash-merged before it was applied, so it is filed here rather than left on a merged PR.

Part of the docs publish hardening set — see #1101 and https://scylladb.atlassian.net/browse/DRIVER-1086.

Activity

  1. added theissue type on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/Driver_-_java-driver-4.xbugdocumentationgood first issue

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions