J2ObjC v2.2 Release Notes

Release Date: 2018-09-10 // over 2 years ago
  • ๐Ÿš€ A new release of J2ObjC is available, 2.2. This is an update to 2.1.1 with bug fixes and the following changes:


    • The file prefixes.properties no longer needs to be bundled with the app because reflection support for name mappings is automatically generated.
    • ๐Ÿ— The flag --swift-friendly now generates class properties (instead of static accessor methods) for static variables and enum constants. If this change breaks your build, you can get the previous behavior by replacing --swift-friendly with --static-accessor-methods --nullability.
    • ๐Ÿ“ฆ Making sure that --prefixes respects the definition order of package prefixes (Issue #995).
    • ๐Ÿ‘Œ Support for nullability annotations declared as type annotations.

    Java Runtime Emulation

    • โž• Added fallback Xalan properties (Issue #978).


    • โž• Added IntelliJ project files.
    • โšก๏ธ Updated bundled Guava to version 25.1.
    • โž• Added Swift sample project.

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