PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to the PostgreSQL™ backend.
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.
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.