Skip to content

1.1

Compare
Choose a tag to compare
@kstanger kstanger released this 26 Jul 18:26
· 3026 commits to master since this release

A new release of J2ObjC is available, 1.1.

This release updates 1.0.2 with several bug fixes, including:

iOS:

  • Added tvOS support.

Annotations:

  • Added RetainedWith, allowing some object pairs to form a reference cycle without leaking.

Translator:

  • Revised lambda and method reference translation for better performance.
  • Various method reference translation bugs resolved.
  • Declares narrower return types for type variables with bounds.
  • Beginning of migration to javax.lang.model symbol types from JDT bindings.

Runtime:

  • Volatile fields: spinlocks replaced with pthread_mutex to avoid priority inversion deadlock.
  • Improve DST support with NSTimeZone-backed TimeZone
  • Various reflection fixes, removed best effort support. (most reflection now requires metadata)
  • Reflection metadata is cleaned up to reduce effect on binary size.
  • java.lang.Thread implementation switched to use pthread instead of NSThread.

Thanks for all the bug reports, especially those with tests and/or patches -- we're a small team, and appreciate the help!