Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1362

Make Java 17 the minimum runtime and build with --release 17

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 4.0.0
    • None
    • None

    Description

      Connector/J 4.0 targets Java 17 as the minimum runtime.
      The build currently compiles the baseline with -source/-target 1.8 and layers three multi-release trees on top (java9 for module-info, java11 for SocketHelper, java16 for UnixDomainSocket).

      • Compile everything with <release>17</release> and drop the java8 and java11 Maven profiles and the -java8 dependency variants (logback-java8.version).
      • Fold src/main/java9, java11 and java16 back into src/main/java, and remove the Multi-Release manifest entry and the multiReleaseOutput compiler executions.
      • Remove the runtime Java version checks (the placeholder UnixDomainSocket, getJavaVersion() helpers in tests).
      • State the new minimum in the README, the changelog and the _java_version connection attribute documentation.

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.