0.10.0
What's Changed
Java-GI has now been upgraded to the latest version of the "Panama" Foreign Function & Memory API (JEP 454), that was released with OpenJDK 22. As a result, Java-GI doesn't depend on OpenJDK preview features any longer!
Additionally, the bindings were updated to the latest GNOME 46 release.
A number of other changes:
- New Java classes were added for
GList
andGSList
, that implementjava.util.List
so they are very easy to use. - Flag parameters have been changed from
int
constants toEnumSet
. This means you pass flag parameters usingSet.of(flag1, flag2, ...)
instead of the customor()
andcombined()
methods that existed previously. - A number of fixes and improvements were applied to the Javadoc generator.
- Method handles are now generated as final static fields, to allow inlining by the jit compiler, improving performance.
- Native libraries are now loaded using the platform-native shared library loader (
dlopen
on Linux) so in many cases the Java library path doesn't need to be manually updated anymore. - Several bugs with memory management and caching were fixed. Thanks to @BwackNinja for the detailed reports.
- Interface instances are now derived from TypeInstance instead of GObject (unless specified otherwise in the prerequisites).
- The
gircore/gir-files
repository is now included as a git submodule. - The website was improved and uses a more modern theme.
Full Changelog: 0.9.2...0.10.0