forked from pgjdbc/pgjdbc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support waffle-jna 2.x and 3.x by using reflective approach for …
…ManagedSecBufferDesc (pgjdbc#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, pgjdbc#2690 (comment) Fixes pgjdbc#2690
- Loading branch information
1 parent
6924802
commit 70b85d8
Showing
2 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters