Skip to content

Commit

Permalink
Add documentation about binary incompatible change of Native#loadLibrary
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblaesing committed Oct 3, 2017
1 parent 424d979 commit 4765baa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Breaking Changes
* `com.sun.jna.Native#setPreserveLastError` and `com.sun.jna.Native#getPreserveLastError`
were removed without replacement. They were turned into NOOPs in the past.
* `com.sun.jna.Native#getDirectByteBuffer` was replaced by `com.sun.jna.Pointer#getByteBuffer`
* `com.sun.jna.Native#loadLibrary` methods return a `T` instance and expect
a `Class<T>` as parameter. `T` was unconstraint and was modified to
extend `com.sun.jna.Library`. This change is source compatible, but not
binary compatbile, so bindings need to be recompiled.
* `com.sun.jna.platform.win32.Sspi.SecBufferDesc` was incompatibly changed to
match the correct native semantics. SecBufferDesc describing more than one
buffer were broken. For most usecases
Expand Down

0 comments on commit 4765baa

Please sign in to comment.