Message-ID: From: "philipwhiuk (@philipwhiuk)" To: "pgjdbc/pgjdbc" Date: Tue, 17 Feb 2026 14:22:10 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3886: fix: avoid memory leaks in Java <= 21 caused by Thread.inheritedAccessControlContext In-Reply-To: References: List-Id: X-GitHub-Author-Login: philipwhiuk X-GitHub-Comment-Id: 3914978874 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2026-02-17T14:23:45Z X-GitHub-Issue: 3886 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3886#issuecomment-3914978874 Content-Type: text/plain; charset=utf-8 Switching to multi-release JAR broke my assembly build at runtime on Java 17 because it couldn't find LazyCleanerImpl until I added `true` to the assembled JAR manifest. Might be worth flagging up a bit more in the release notes (wasn't expecting a breaking change in a bugfix release). ``` Unhandled error occurred: org/postgresql/util/LazyCleanerImpl$CleanableWrapper java.lang.NoClassDefFoundError: org/postgresql/util/LazyCleanerImpl$CleanableWrapper at org.postgresql.util.LazyCleanerImpl.register(LazyCleanerImpl.java:65) at org.postgresql.jdbc.PgConnection.(PgConnection.java:403) at org.postgresql.Driver.makeConnection(Driver.java:448) at org.postgresql.Driver.connect(Driver.java:298) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137) ```