2.7
A new release of J2ObjC is available, 2.7. This is an update to 2.6 with bug fixes and the following changes:
JRE Runtime Emulation
- Sources updated to Android 10, full Java 8 API.
- New packages:
java.nio.file
java.nio.file.attribute
java.nio.file.spi
javax.sql
Translator
- New memory model annotations, to avoid dangling pointers in generated code:
ZeroingWeak
: generates a__weak
annotation with ARC,WeakReference<T>
with reference-counting.OnDealloc
: annotates a method to be called from thedealloc
Objective C method.
Other
- The release distribution has been split into two zip files, with the
frameworks
directory in thej2objc-2.7-frameworks.zip
file. This was necessary to work around GitHub release maximum sizes. Unzipping both zip files from the same directory creates the full distribution, and is only necessary if your iOS project uses J2ObjC frameworks.
Thanks for all the bug reports, especially those with tests and/or patches -- we're a small team, and appreciate the help!