Contributions (and possible bugfixes) to jna