Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7e1x-0067YG-UI for pgsql-jdbc-commits@arkaria.postgresql.org; Mon, 27 Nov 2023 16:00:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r7e1w-00Eq0N-M9 for pgsql-jdbc-commits@arkaria.postgresql.org; Mon, 27 Nov 2023 16:00:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7e1w-00Eq0D-Dz for pgsql-jdbc-commits@lists.postgresql.org; Mon, 27 Nov 2023 16:00:16 +0000 Received: from out-28.smtp.github.com ([192.30.252.211]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7e1t-007clJ-9e for pgsql-jdbc-commits@lists.postgresql.org; Mon, 27 Nov 2023 16:00:15 +0000 Received: from github.com (hubbernetes-node-8546d74.ash1-iad.github.net [10.56.146.21]) by smtp.github.com (Postfix) with ESMTPA id 3B6B31012B1 for ; Mon, 27 Nov 2023 08:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1701100812; bh=WQUGuRKujIteD0fnN+VVXAtL0snTLR7REL8JEJQ3uCQ=; h=Date:From:To:Subject:From; b=TQWehcCn8pW4Ru1hd8IlwGJaY+Qeg3vd1uLAh2z9TVu1lvt4nywEkfHvzo+2BKv4K tZb8IoohBss6lHXIJ1g45tk7j8J1hhurkDxaPY8SYY5Hs2gYcovl7RRisaSZ+DIVMs 5AiRywmZA9d1FNdILj2Hreaofp9mvqyZGRJdKvaA= Date: Mon, 27 Nov 2023 08:00:12 -0800 From: Vladimir Sitnikov To: pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 3a5f18: chore: use Java 17 for building pgjdbc, and use --... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc-commits@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 3a5f185423d6d0b68e12791afd3c33be88fc65b1 https://github.com/pgjdbc/pgjdbc/commit/3a5f185423d6d0b68e12791afd3c33be88fc65b1 Author: Vladimir Sitnikov Date: 2023-11-27 (Mon, 27 Nov 2023) Changed paths: M .github/workflows/main.yml M .github/workflows/matrix.js M .github/workflows/matrix_builder.js M CONTRIBUTING.md M TESTING.md M appveyor.yml M build-logic-commons/gradle-plugin/build.gradle.kts M build-logic-commons/gradle-plugin/src/main/kotlin/build-logic.kotlin-dsl-gradle-plugin.gradle.kts A build-logic/basics/src/main/kotlin/ToolchainProperties.kt A build-logic/basics/src/main/kotlin/build-logic.toolchains.gradle.kts A build-logic/basics/src/main/kotlin/configureToolchain.kt M build-logic/build-parameters/build.gradle.kts M build-logic/jvm/build.gradle.kts M build-logic/jvm/src/main/kotlin/build-logic.java.gradle.kts M build-logic/jvm/src/main/kotlin/build-logic.kotlin.gradle.kts M build-logic/jvm/src/main/kotlin/build-logic.test-base.gradle.kts M build-logic/jvm/src/main/kotlin/build-logic.test-junit5.gradle.kts M build-logic/verification/src/main/kotlin/build-logic.checkerframework.gradle.kts M build-logic/verification/src/main/kotlin/build-logic.checkstyle.gradle.kts M build-logic/verification/src/main/kotlin/build-logic.style.gradle.kts M docs/content/development/_index.md M pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObject310Test.java Log Message: ----------- chore: use Java 17 for building pgjdbc, and use --release 8 to target Java 8, add tests with Java 21 and 22 (#3026) Now we will always use a recent JDK for building pgjdbc (e.g. a recent javac), and we will use toolchains to separate build JDK from test JDK. Fixes https://github.com/pgjdbc/pgjdbc/issues/3014