Skip to content

Update jna monorepo to v3.5.2#7

Draft
renovate-xelians[bot] wants to merge 1 commit into
masterfrom
chore/renovate-jna-monorepo
Draft

Update jna monorepo to v3.5.2#7
renovate-xelians[bot] wants to merge 1 commit into
masterfrom
chore/renovate-jna-monorepo

Conversation

@renovate-xelians

@renovate-xelians renovate-xelians Bot commented Jun 2, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
net.java.dev.jna:jna 3.3.03.5.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

java-native-access/jna (net.java.dev.jna:jna)

v3.5.2

Compare Source

=============

Features

  • Basic COM support for w32 - @​wolftobias.
  • Avoid superfluous Structure memory allocation by using Structure(Pointer) ctors if available - @​twall.
  • PR#120: Provide methods for extracting native libraries from the class path for use by JNA - @​Zlika.
  • PR#163: The Java GUID structure can be used directly as alternative to Ole32Util.getGUIDFromString() - @​wolftobias.
  • PR#163: Ported Win32 dbt.h - @​wolftobias.
  • PR#163: Added Win32 WTSRegisterSessionNotification() and WTSUnRegisterSessionNotification() from Wtsapi32.dll - @​wolftobias.
  • PR#163: Added Win32 native_window_msg that creates windows, registers for USB device and logon/logoff notifications - @​wolftobias.
  • PR#178: Added Win32 USER_INFO_10 structure from LMAccess.h - @​davidmc24.
  • PR#192: Added Win32 SHGetSpecialFolderPath() and initialization file (.ini) API functions from kernel32.dll - @​headcrashing.
  • PR#194: Added Unit Test for CLSIDFromProgID() - @​headcrashing.
  • PR#196: Added Win32 RegisterWindowMessage() and new wrapper User32Util for convenient use of RegisterWindowMessage, CreateWindow and CreateWindowEx - @​headcrashing.
  • PR#187: Allow StructureFieldOrderTest unit test in platform project to run on Linux. - @​bhamail.

Bug Fixes

  • PR#180: Fix: added missing fields in XEvents.getFieldOrder() - @​xwizard.
  • PR#183: Fix LMAccess.GROUP_INFO_3.getFieldOrder() to return correct fields names - @​bhamail.
  • PR#187: Fix getFieldOrder() to return correct field names for some X11 structures - @​bhamail.
  • Remove deprecated methods on Memory (getSize,isValid) and Structure (getSize) - @​twall.
  • Remove problematic AWT check via Class.forName("java.awt.Component") (see here) - @​twall.
  • PR#210 Add OSGI processor specs for Mac OS X - @​bertfrees.
  • PR#174: Recompile linux-amd64 natives to remove glibc-2.11 dependencies, now requires only 2.2.5 or better - @​twall.
  • PR#183: Added StructureFieldOrderInspector unit test utility to scan for Structure field issues; see: com.sun.jna.platform.StructureFieldOrderTest.testMethodGetFieldOrder - @​bhamail.
  • PR#187: Allow StructureFieldOrderTest unit test in platform project to run on Linux - @​bhamail.
  • #​206: Fix moveToTrash() on OSX to work with symlinks - @​twall.
  • Fix NPE if Thread.getContextClassLoader() returns null - @​twall.

v3.5.1

Compare Source

=============

Bug Fixes

  • Fix bug where string fields sometimes failed to be writtern - @​twall (roman kisluhin).
  • PR#145: Fix Netapi32Util.getDomainTrusts() returns "empty" domain object - @​aikidojohn.
  • PR#145: Fix Netapi32.getDC() - added missing fields in DOMAIN_CONTROLLER_INFO - @​aikidojohn.
  • PR#151: 'platform.jar' in the dist directory was not updated for release 3.5.0. (The 'platform.jar' published to maven central was correct.)

v3.5.0

Compare Source

=============

Features

  • #​62 If a callback is required to reside in a DLL, use DLLCallback to tag your Callback object - @​twall.
  • Structure.getFieldOrder() supersedes Structure.setFieldOrder() and is now required - @​twall.
  • Search ~/Library/Frameworks and /Library/Frameworks on OSX - @​shaneholloway.
  • Automatic cleanup of native threads (based on suggestions from neil smith) - @​twall.
  • Add android-arm target - @​ochafik, @​twall.
  • Add jna.tmpdir to override temporary JNA storage location - @​twall.
  • Add EXTRA_MAKE_OPTS ant property to override make variables - @​twall.
  • Add Library.OPTION_OPEN_FLAGS to customize dlopen behavior - @​twall.
  • #​113, #​114: Add support for GNU/kFreeBSD and debian multi-arch distros - @​twall.

Bug Fixes

  • Fix Advapi32Util.registryGetValues() tried to allocate memory for a zero-length REG_BINARY value - @​phailwhale22.
  • Fix crash in direct mode callbacks with certain type conversions - @​twall.
  • More thoroughly propagate unexpected exceptions generated in jnidispatch - @​twall.
  • Cleanup maven poms and publishing to central repo - @​bhamail.
  • #​129: Allow Memory field in structure - @​twall.
  • Preserve PointerType fields on Structure.read() if unchanged - @​twall.
  • #​128: Fix masking extracting DWORD upper and lower WORD values - @​twall.
  • #​135: Fix for Advapi32Util.registryGetValues() when reading zero length values - @​danwi.

v3.4.0

Compare Source

=============

Features

  • Provide jna.nosys=true to avoid loading any system-provided JNA (useful for local build/development).
  • Allow override of default jnidispatch library name with jna.boot.library.name system property.
  • Throw an Error if a system install of JNA is incompatible or if JNA's JNI library does not match.
  • Disable automatic jnidispatch unpacking with jna.nounpack=true.
  • Automatically look up system error messages for LastErrorException.
  • Improved callback thread-mapping support; re-use, rename, and group callback
    threads.
  • Cache structure layout results, improving performance of structure creation.
  • linux/arm 32-bit support (hardware provided by Alex Lam).
  • linux/ppc 32-bit support (hardware provided by Fritiof Hedman).
  • Preliminary linux/ia64, linux/ppc64 support (thanks to Laurent Guerby and the GCC compile farm).
  • Windows CE/Mobile support (w32ce-arm) (resources provided by andrea antonello and Hydrologis SRL).
  • linux multi-arch support (kohsuke).
  • Added REG_QWORD registry type support
  • Add to platform.unix.x11: XGrabKey, XUngrabKey, XSetErrorHandler.
  • Add to platform.mac.Carbon: GetEventDispatcherTarget, InstallEventHandler, RegisterEventHotKey, GetEventParameter, RemoveEventHandler, UnregisterEventHotKey.
  • Add to platform.win32.Kernel32: CopyFile, MoveFile, MoveFileEx, CreateProcess, SetEnvironmentVariables, GetFileTime, SetFileTime, SetFileAttributes, DeviceIoControl, GetDiskFreeSpaceEx, CreateToolhelp32Snapshot, Process32First, Process32Next.
  • Add to platform.win32.Msi: MsiGetComponentPath, MsiLocateComponent, MsiGetProductCode, MsiEnumComponents.
  • Add to platform.win32.User32: RegisterHotKey, UnregisterHotKey
  • Add to platform.win32.SetupApi: SetupDiGetClassDevs, SetupDiDestroyDeviceInfoList, SetupDiEnumDeviceInterfaces, SetupDiGetDeviceInterfaceDetail, SetupDiGetDeviceRegistryProperty.
  • Add platform.win32.Shell32.ShellExecute.
  • Add to platform.win32.User32: SetParent, IsWindowVisible, MoveWindow, SetWindowPos, AttachInputThread, SetForegroundWindow, GetForegroundWindow, SetFocus, SendInput, WaitForInputIdle, InvalidateRect, RedrawWindow, GetWindow, UpdateWindow, ShowWindow, CloseWindow.
  • Add to platform.win32.Version: GetFileVersionInfoSize, GetFileVersionInfo, VerQueryValue.
  • Add to platform.win32.Advapi32: GetFileSecurity, RegQueryValueEx(...Long...).
  • Add to platform.win32.Netapi32: NetUserGetInfo.

Bug Fixes

  • Revise cleanup of in-use temporary files on win32 (issue 6).
  • Fix structure alignment issues on linux/ppc.
  • Fix structure alignment issues on linux/arm.
  • Account for NIO Buffer position (JIRA issue 185).
  • Avoid crash with very long Strings (> 150k in length).
  • Fix bug tracking Memory with an associated direct ByteBuffer.
  • Fix bug handling structs by value when type mappers are in effect (JIRA issue 188).

Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@renovate-xelians renovate-xelians Bot changed the title Update dependency net.java.dev.jna:jna to v3.5.2 Update jna monorepo to v3.5.2 Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants