Skip to content

2.7

Compare
Choose a tag to compare
@tomball tomball released this 18 Sep 18:52
· 721 commits to master since this release

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 the dealloc Objective C method.

Other

  • The release distribution has been split into two zip files, with the frameworks directory in the j2objc-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!