pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: philipwhiuk (@philipwhiuk) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] PR #3886: fix: avoid memory leaks in Java <= 21 caused by Thread.inheritedAccessControlContext
Date: Tue, 17 Feb 2026 14:22:10 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Switching to multi-release JAR broke my assembly build at runtime on Java 17 because it couldn't find LazyCleanerImpl until I added `<Multi-Release>true</Multi-Release>` 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.<init>(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)
```



view thread (11+ 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] PR #3886: fix: avoid memory leaks in Java <= 21 caused by Thread.inheritedAccessControlContext
  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