After updating to the current version in the repository, there was a
failed build. I assume that the Structure test was the one you
mentioned adding for byValue callback usage.
I'm attaching the generated log file in case that will help.
thank you!
Richard
[junit] Running com.sun.jna.StructureTest
[junit] #
[junit] # An unexpected error has been detected by Java Runtime Environment:
[junit] #
[junit] # SIGSEGV (0xb) at pc=0x00002afa488e7cf6, pid=26803, tid=1076017488
[junit] #
[junit] # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-b05
mixed mode)
[junit] # Problematic frame:
[junit] # C [libc.so.6+0x7ccf6] memcpy+0x46
[junit] #
[junit] # An error report file with more information is saved as
hs_err_pid26803.log
[junit] #
[junit] # If you would like to submit a bug report, please visit:
[junit] # http://java.sun.com/webapps/bugreport/crash.jsp
[junit] #
[junit] Running com.sun.jna.StructureTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test com.sun.jna.StructureTest FAILED (crashed)
BUILD FAILED
/home/richard/jna/jnalib/build.xml:341: One or more tests failed