Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Thu, 27 Mar 2025 07:27:25 +0000 Subject: [pgjdbc/pgjdbc] PR #3582: fix: make PgConnection#abort compatible with Java 24 List-Id: X-GitHub-Author-Id: 213894 X-GitHub-Author-Login: vlsi X-GitHub-Issue: 3582 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-State: merged X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3582 Content-Type: text/plain; charset=utf-8 Previously, #abort was using SQLPermission("callAbort").checkGuard(this) to test abort permission, however, Java 24 permanently removes Security Manager, so checkGuard always throws an exception. The fix is to verify if the security manager is installed before checking the permission. Fixes https://github.com/pgjdbc/pgjdbc/issues/3581