Skip to content

v2.0.0

Compare
Choose a tag to compare
@slytechs-repos slytechs-repos released this 25 Oct 17:28
· 109 commits to main since this release

Production release version 2.0.0

Full production release of jNetPcap v2 API with up to native libpcap 1.10 API compatibility.

JDK Compatibility

jNetPcap library relies on Panama Foreign Function and Memory (JEP 442) feature which has been released but as a JDK preview feature, the release provides binary files for multiple JDKs to enable its usage.

Provides binary jar file support for the following JDKs with Foreign Function support:

  • JDK19 (preview feature 1)
  • JDK20 (preview feature 2)
  • JDK21 LTS (preview feature 3)
  • JDK22 FFM fully incorporated as part JDK public API, no --enable-preview command line options required

Note: JDK 22 as of this release is an "early-access" JDK.
Note: when using JDK 19, 20 or 21, the --enable-preview command line option is required to enable JDK feature preview of Panama FFM (JEP 442) feature.
Note: the command line option --enable-native-access=org.jnetpcap is required to allow jNetPcap access to native functions and memory.

All future releases (2.1.0 +) will only provide JDK 21 LTS and JDK 22 binary support going forward. JDK 19 and 20 binaries will not be provided in future releases.

What's Changed

  • Initial public jNetPcap API release for up to libpcap 1.10 API