tada / pljava

PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to the PostgreSQL™ backend.
http://tada.github.io/pljava/
Other
238 stars 77 forks source link

Simply reject a Java version affected by JDK-8309515 #444

Closed jcflack closed 1 year ago

jcflack commented 1 year ago

The Java bug JDK-8309515 first appears in Java 20, and has been quickly fixed for 21 (in openjdk/jdk@90027ff) and will presumably be backpatched to some update of 20.

Therefore, rather than bending over backward to include a workaround, simply include a test for the bug, with advice to use a working (pre-20, or recent, fixed) Java version.

Addresses #435.