pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] issue #2551: Add tests with Java 18, 19, 20
Date: Fri, 17 Jun 2022 14:45:16 +0000
Message-ID: <[email protected]> (raw)

See https://github.com/oracle-actions/setup-java
See https://github.com/junit-team/junit5/pull/2944

I think CI matrix should be something like "build with Java X", "test with Java Y".

It might help us if we create version-specific source sets (folders) and produce multi-release jar as the result.
Then we could require something like "pgjdbc must be built with Java 11+ or 17+" while still targeting Java 8 or whatever.

However, I believe the starting point should be adding Gradle toolchains https://docs.gradle.org/current/userguide/toolchains.html for test purposes (e.g. a separate build time parameter that would specify JVM for tests).


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: github://pgjdbc/pgjdbc
  Cc: [email protected], [email protected]
  Subject: Re: [pgjdbc/pgjdbc] issue #2551: Add tests with Java 18, 19, 20
  In-Reply-To: <<[email protected]>>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox