public inbox for [email protected]
help / color / mirror / Atom feedFrom: Christian Ullrich <[email protected]>
To: [email protected]
Subject: [pgjdbc/pgjdbc] d360db: fix: support waffle-jna 2.x and 3.x by using refle...
Date: Mon, 04 Dec 2023 08:11:34 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: d360dbe5349d56bf271cb29e5ed25d87ab957c88
https://github.com/pgjdbc/pgjdbc/commit/d360dbe5349d56bf271cb29e5ed25d87ab957c88
Author: Christian Ullrich <[email protected]>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M docs/content/documentation/use.md
M pgjdbc/src/main/java/org/postgresql/sspi/SSPIClient.java
Log Message:
-----------
fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc (#2720)
This commit makes pgjdbc code compatible with both jna-platform 4.5 and jna-platform 5.x
The reason for the change is that SecBufferDesc was improperly typed in jna-platform 4.5,
so they suggested completely drop the old constructor.
Now we try both constructors, and use the newer one.
Inspired by bokken,
https://github.com/pgjdbc/pgjdbc/issues/2690#issuecomment-1345636637
Fixes https://github.com/pgjdbc/pgjdbc/issues/2690
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] d360db: fix: support waffle-jna 2.x and 3.x by using refle...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/[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