JNA 4.1.0 Released

788 views
Skip to first unread message

Daniel Doubrovkine

unread,
Mar 6, 2014, 11:15:00 AM3/6/14
to jna-...@googlegroups.com
JNA 4.1.0 has been released, available now in Maven Central. Thanks to the the many contributors!

Please note that this is my first time releasing JNA, if you see anything suspicious, please email the list.

Features

  • Added com.sun.jna.platform.win32.Advapi32Util.registryCloseKey - @falldog.
  • Enabled platform tests to be run w/o building native bits - @twall.
  • Added COM/Typelib java code generator com.sun.jna.platform.win32.COM.tlb.TlbImp - @wolftobias.
  • #226: Added OSGI information to jna-platform.jar - @brettwooldridge.
  • #267: Added support for Windows RAS32 API, com.sun.jna.platform.win32.Rasapi32 and Rasapi32Util - @kc7bfi.
  • #101: Modify com.sun.jna.platform.win32.Advapi32Util.registryGet* API to support KEY_WOW64 option - @falldog.
  • #271: Added com.sun.jna.platform.win32.Gdi32.ChoosePixelFormat and SetPixelFormat - @kc7bfi.
  • #271: Added com.sun.jna.platform.win32.OpenGL32, OpenGL32Util and WinOpenGL - @kc7bfi.
  • #250: Added com.sun.jna.platform.win32.Kernel32.GetPrivateProfileSection, GetPrivateProfileSectionNames and WritePrivateProfileSection and corresponding Kernel32Util helpers - @quipsy-karg.
  • #287: Added DBTF_MEDIA and DBTF_NET to com.sun.jna.platform.win32.DBT - @daifei4321.
  • #295: Added com.sun.jna.platform.win32.Kernel32.ResetEvent - @manithree.
  • #301: Added accessCheck to com.sun.jna.platform.win32.Advapi32Util, MapGenericMask and AccessCheck to com.sun.jna.platform.win32.Advapi32, PRIVILEGE_SET and GENERIC_MAPPING to com.sun.jna.platform.win32.WinNT -@BusyByte.

Bug Fixes

  • Fixed inconsistent behavior on Structure.ByValue fields within a Structure - @twall.
  • #279: Accommodate FreeBSD libc loading - @sevan.
  • #287: Fixed contrib win32.Win32WindowDemo, now showing the added/removed drive letter, and whether the event is about media in drive or physical drive - @daifei4321.
  • #300: Fix stdcall argument alignment - @twall.

--

dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - @dblockdotorg - artsy.net - github/dblock

Farkas Levente

unread,
Mar 6, 2014, 4:08:50 PM3/6/14
to jna-...@googlegroups.com
4.1.0 tag missing on github. without it the source tar.gz can't be
downloaded:-(

On 03/06/2014 05:15 PM, Daniel Doubrovkine wrote:
> JNA 4.1.0 has been released, available now in Maven Central. Thanks to
> the the many contributors!
>
> * https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar
> * https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jar
>
> Please note that this is my first time releasing JNA, if you see
> anything suspicious, please email the list.
>
>
> <https://github.com/twall/jna/blob/master/CHANGES.md#features>Features
>
> * Added |com.sun.jna.platform.win32.Advapi32Util.registryCloseKey| - @falldog
> <https://github.com/falldog>.
> * Enabled platform tests to be run w/o building native bits - @twall
> <https://github.com/twall>.
> * Added COM/Typelib java code
> generator |com.sun.jna.platform.win32.COM.tlb.TlbImp| - @wolftobias
> <https://github.com/wolftobias>.
> * #226 <https://github.com/twall/jna/issues/226>: Added OSGI
> information to jna-platform.jar - @brettwooldridge
> <https://github.com/brettwooldridge>.
> * #267 <https://github.com/twall/jna/pull/267>: Added support for
> Windows RAS32
> API, |com.sun.jna.platform.win32.Rasapi32| and |Rasapi32Util| - @kc7bfi
> <https://github.com/kc7bfi>.
> * #101 <https://github.com/twall/jna/issues/101>:
> Modify |com.sun.jna.platform.win32.Advapi32Util.registryGet*| API to
> support |KEY_WOW64| option - @falldog <https://github.com/falldog>.
> * #271 <https://github.com/twall/jna/pull/271>:
> Added |com.sun.jna.platform.win32.Gdi32.ChoosePixelFormat| and |SetPixelFormat| - @kc7bfi
> <https://github.com/kc7bfi>.
> * #271 <https://github.com/twall/jna/pull/271>:
> Added |com.sun.jna.platform.win32.OpenGL32|, |OpenGL32Util| and |WinOpenGL| - @kc7bfi
> <https://github.com/kc7bfi>.
> * #250 <https://github.com/twall/jna/pull/250>:
> Added |com.sun.jna.platform.win32.Kernel32.GetPrivateProfileSection|, |GetPrivateProfileSectionNames| and |WritePrivateProfileSection| and
> corresponding |Kernel32Util| helpers - @quipsy-karg
> <https://github.com/quipsy-karg>.
> * #287 <https://github.com/twall/jna/pull/287>:
> Added |DBTF_MEDIA| and |DBTF_NET| to |com.sun.jna.platform.win32.DBT| - @daifei4321
> <https://github.com/daifei4321>.
> * #295 <https://github.com/twall/jna/pull/295>:
> Added |com.sun.jna.platform.win32.Kernel32.ResetEvent| - @manithree
> <https://github.com/manithree>.
> * #301 <https://github.com/twall/jna/pull/301>:
> Added |accessCheck| to |com.sun.jna.platform.win32.Advapi32Util|, |MapGenericMask| and |AccessCheck| to |com.sun.jna.platform.win32.Advapi32|, |PRIVILEGE_SET| and |GENERIC_MAPPING| to |com.sun.jna.platform.win32.WinNT| -@BusyByte
> <https://github.com/BusyByte>.
>
>
> <https://github.com/twall/jna/blob/master/CHANGES.md#bug-fixes>Bug Fixes
>
> * Fixed inconsistent behavior on |Structure.ByValue| fields within
> a |Structure| - @twall <https://github.com/twall>.
> * #279 <https://github.com/twall/jna/issues/279>: Accommodate FreeBSD
> libc loading - @sevan <https://github.com/sevan>.
> * #287 <https://github.com/twall/jna/pull/287>: Fixed
> contrib |win32.Win32WindowDemo|, now showing the added/removed drive
> letter, and whether the event is about media in drive or physical
> drive - @daifei4321 <https://github.com/daifei4321>.
> * #300 <https://github.com/twall/jna/issues/300>: Fix stdcall argument
> alignment - @twall <https://github.com/twall>.
>
>
> --
>
> dB. | Moscow - Geneva - Seattle - New York
> code.dblock.org <http://code.dblock.org/> - @dblockdotorg
> <http://twitter.com/#!/dblockdotorg> - artsy.net
> <http://artsy.net/> - github/dblock <https://github.com/dblock>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java Native Access" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jna-users+...@googlegroups.com
> <mailto:jna-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.

--
Levente "Si vis pacem para bellum!"

Daniel Doubrovkine

unread,
Mar 6, 2014, 4:29:29 PM3/6/14
to jna-...@googlegroups.com
Sorry, forgot to push that one, fixed. Thanks for pointing it out.


To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--

Timothy Wall

unread,
Mar 7, 2014, 6:45:57 AM3/7/14
to jna-...@googlegroups.com
Thanks DB!

Farkas Levente

unread,
Mar 7, 2014, 6:50:17 AM3/7/14
to jna-...@googlegroups.com
it'd be nice if the file called jna-4.1.0.tar.gz and not 4.1.0.tar.gz :-)
> > code.dblock.org <http://code.dblock.org> <http://code.dblock.org/> -
> @dblockdotorg
> > <http://twitter.com/#!/dblockdotorg> - artsy.net <http://artsy.net>
> > <http://artsy.net/> - github/dblock <https://github.com/dblock>
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Java Native Access" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>
> > <mailto:jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>>.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Levente "Si vis pacem para bellum!"
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java Native Access" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>.

Daniel Doubrovkine

unread,
Mar 7, 2014, 7:07:48 AM3/7/14
to jna-...@googlegroups.com
Are you talking about the source code tag? Naming is something Github does, it's just the tag name. You should be getting binaries from Maven.


To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Farkas Levente

unread,
Mar 7, 2014, 7:31:49 AM3/7/14
to jna-...@googlegroups.com
on page:
https://github.com/twall/jna/releases
the source link:
https://github.com/twall/jna/archive/4.1.0.tar.gz
> > > code.dblock.org <http://code.dblock.org> <http://code.dblock.org>
> <http://code.dblock.org/> -
> > @dblockdotorg
> > > <http://twitter.com/#!/dblockdotorg> - artsy.net <http://artsy.net>
> <http://artsy.net>
> > > <http://artsy.net/> - github/dblock <https://github.com/dblock>
> > >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Java Native Access" group.
> > > To unsubscribe from this group and stop receiving emails from it, send
> > > an email to jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>
> > <mailto:jna-users%2Bunsu...@googlegroups.com
> <mailto:jna-users%252Buns...@googlegroups.com>>
> > > <mailto:jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>
> > <mailto:jna-users%2Bunsu...@googlegroups.com
> <mailto:jna-users%252Buns...@googlegroups.com>>>.
> > > For more options, visit https://groups.google.com/groups/opt_out.
> >
> > --
> > Levente "Si vis pacem para bellum!"
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Java Native Access" group.
> > To unsubscribe from this group and stop receiving emails from it,
> > send an email to jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>
> > <mailto:jna-users%2Bunsu...@googlegroups.com
> <mailto:jna-users%252Buns...@googlegroups.com>>.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> >
> >
> > --
> >
> > dB. | Moscow - Geneva - Seattle - New York
> > code.dblock.org <http://code.dblock.org> <http://code.dblock.org/> -
> @dblockdotorg
> > <http://twitter.com/#!/dblockdotorg> - artsy.net <http://artsy.net>
> > <http://artsy.net/> - github/dblock <https://github.com/dblock>
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Java Native Access" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>
> > <mailto:jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>>.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Levente "Si vis pacem para bellum!"
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java Native Access" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to jna-users+...@googlegroups.com
> <mailto:jna-users%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
>
> dB. | Moscow - Geneva - Seattle - New York
> code.dblock.org <http://code.dblock.org/> - @dblockdotorg
> <http://twitter.com/#!/dblockdotorg> - artsy.net
> <http://artsy.net/> - github/dblock <https://github.com/dblock>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java Native Access" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jna-users+...@googlegroups.com
> <mailto:jna-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Farkas Levente

unread,
Mar 7, 2014, 7:49:01 AM3/7/14
to jna-...@googlegroups.com
we've got many:
[java] JNA: could not detach thread
message. what can be the reason for this?

On 03/06/2014 05:15 PM, Daniel Doubrovkine wrote:
> JNA 4.1.0 has been released, available now in Maven Central. Thanks to
> the the many contributors!
>
> * https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar
> * https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jar
>
> Please note that this is my first time releasing JNA, if you see
> anything suspicious, please email the list.
>
>
> <https://github.com/twall/jna/blob/master/CHANGES.md#features>Features
>
> * Added |com.sun.jna.platform.win32.Advapi32Util.registryCloseKey| - @falldog
> <https://github.com/falldog>.
> * Enabled platform tests to be run w/o building native bits - @twall
> <https://github.com/twall>.
> * Added COM/Typelib java code
> generator |com.sun.jna.platform.win32.COM.tlb.TlbImp| - @wolftobias
> <https://github.com/wolftobias>.
> * #226 <https://github.com/twall/jna/issues/226>: Added OSGI
> information to jna-platform.jar - @brettwooldridge
> <https://github.com/brettwooldridge>.
> * #267 <https://github.com/twall/jna/pull/267>: Added support for
> Windows RAS32
> API, |com.sun.jna.platform.win32.Rasapi32| and |Rasapi32Util| - @kc7bfi
> <https://github.com/kc7bfi>.
> * #101 <https://github.com/twall/jna/issues/101>:
> Modify |com.sun.jna.platform.win32.Advapi32Util.registryGet*| API to
> contrib |win32.Win32WindowDemo|, now showing the added/removed drive
> letter, and whether the event is about media in drive or physical
> drive - @daifei4321 <https://github.com/daifei4321>.
> * #300 <https://github.com/twall/jna/issues/300>: Fix stdcall argument
> alignment - @twall <https://github.com/twall>.
>
>
> --
>
> dB. | Moscow - Geneva - Seattle - New York
> code.dblock.org <http://code.dblock.org/> - @dblockdotorg
> <http://twitter.com/#!/dblockdotorg> - artsy.net
> <http://artsy.net/> - github/dblock <https://github.com/dblock>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java Native Access" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jna-users+...@googlegroups.com
> <mailto:jna-users+...@googlegroups.com>.

Timothy Wall

unread,
Mar 8, 2014, 6:40:35 AM3/8/14
to jna-...@googlegroups.com
Only win32 had native changes this release. Does this message not appear in 4.0.0?

There should be more to that message (“…after callback init”, “…after callback handling”, “…on initial load”). What are you seeing?
> To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Farkas Levente

unread,
Mar 20, 2014, 5:22:04 AM3/20/14
to jna-...@googlegroups.com
there isn't any other messages just this one and only a few times.
we can't use any of the previous version since after 3.4.0 there was not
any version with works on both linux and windows, so this is the first
release what we can use.
is there any way to find which thread try to detach or what was the
stack trace in this case? this message in alone not too talkative:-(

On 03/08/2014 12:40 PM, Timothy Wall wrote:
> Only win32 had native changes this release. Does this message not appear in 4.0.0?
>
> There should be more to that message ("...after callback init", "...after callback handling", "...on initial load"). What are you seeing?

Timothy Wall

unread,
Mar 20, 2014, 7:59:03 AM3/20/14
to jna-...@googlegroups.com
Whats the machine configuration you’re seeing these messages on?

Farkas Levente

unread,
Mar 20, 2014, 9:29:19 AM3/20/14
to jna-...@googlegroups.com
rhel-6.5 x86_64
jna-4.1.0 and gstreamer-java
Reply all
Reply to author
Forward
0 new messages