Releases: google/j2objc
Releases · google/j2objc
J2ObjC 3.1
J2ObjC 3.1 is an interim release that updates the j2objc-annotations Maven artifact, as well as includes all source changes since 3.0. We'll be releasing more frequently as we start moving the build to use Bazel instead of Make.
What's Changed
- Replaces use of
mac_absolute_time()withclock_gettime_nsec_np(CLOCK_MONOTONIC)injava.lang.System.nanoTime()implementation. The returned value is no longer relatable to other system times, instead only useful for measuring elapsed time (as the method's javadoc describes). by @copybara-service[bot] in #2307 - Add SwiftName to avoid build failures in the public. by @copybara-service[bot] in #2310
- Fixes cycle_finder's public build. by @copybara-service[bot] in #2311
- Fixes for Swift Name annotation by @copybara-service[bot] in #2312
- Support disabling no-wrapper-method flag for j2objc_library. by @copybara-service[bot] in #2313
- Add error prone jar to fix build issue in the public. by @copybara-service[bot] in #2317
- Make call to system fstatat() direct to better support tools verifying privacy manifest compliance. by @copybara-service[bot] in #2316
- Rename JUnitTestRunner.main to JUnitTestRunner.run. by @copybara-service[bot] in #2320
- Adds translator flag to generate j2objc-generated code in separate text (code) segment, so engineers can determine how much native to transpiled code is in their app. by @copybara-service[bot] in #2322
- Fixes public builds of j2objc/cycle_finder and j2objc/tree_shaker. by @copybara-service[bot] in #2326
- Sets jmod path and fixes duplicate mkdir error in public build. by @copybara-service[bot] in #2327
- Fix //googlemac/iPhone/Applecrisp/Shared/DocosLib/Test:TranspiledTests when strip-reflection is on. by @copybara-service[bot] in #2328
- Issue #2323: rewrite super constructor invocations for java.lang.Number subclasses. by @copybara-service[bot] in #2331
- Fixes patch file application in public junit build. The issue is that MacOS has CRLF line endings, while Linux and our repo has LF. So MacOS created CRLF endings when
diff -ruwas run, the repo changed them to LF, and then the patch would fail. by @copybara-service[bot] in #2335 - Issue #2330: removed JSON headers from JRE framework. by @copybara-service[bot] in #2336
- Add --no-doc-comments option to skip doc-comment translation. by @copybara-service[bot] in #2338
- Hides logged stack trace from expected result, as all the stack trace did was make a successful test execution look like a failure. The stack trace is logged from the Java protobuf runtime, which we can't change. by @copybara-service[bot] in #2339
- Updates IntelliJ projects to use latest Java library dependencies from j2objc/java_deps. by @copybara-service[bot] in #2343
- Supports linking the core jre_emul subset library without the
-ObjCflag, by making static references to classes that are dynamically loaded. The static references ensure that the classes continue to be linked into the app. by @copybara-service[bot] in #2342 - Automated g4 rollback of changelist 638722935. by @copybara-service[bot] in #2346
- Automated g4 rollback of changelist 638827797. by @copybara-service[bot] in #2347
- Implement prototype of J2ObjC "adapter" method annotation. by @copybara-service[bot] in #2321
- Add few annotations to classes.mk for public build. by @copybara-service[bot] in #2349
- Improve experimental -Xnull-marked: by @copybara-service[bot] in #2348
- Fix -Wshorten-64-to-32 error in JreCollectionAdapters.m by @copybara-service[bot] in #2351
- Disable adapter method tests temporarily to fix external build break. by @copybara-service[bot] in #2353
- Update J2ObjC Protocol Buffer builder method arguments to default to
nonnull. by @copybara-service[bot] in #2352 - Rollback J2ObjC Protocol Buffer builder method argument nullability changes which caused project build failures. by @copybara-service[bot] in #2355
- Migrate usages of
org.jspecify.nullnesstoorg.jspecify.annotations. by @copybara-service[bot] in #2356 - Update JSpecify to version 0.3.0 in public build. by @copybara-service[bot] in #2358
- Updates IntelliJ projects to jspecify-3.0. by @copybara-service[bot] in #2357
- Update J2ObjC Protocol Buffer builder method arguments to default to
nonnull. by @copybara-service[bot] in #2359 - Adds flag to generate separate header files for inner types. by @copybara-service[bot] in #2344
- Add j2objc support to transformer. by @copybara-service[bot] in #2361
- Avoid clang -Wdocumentation warning when doc-comment starts with
<PRE>tag. by @copybara-service[bot] in #2362 - Adds compatibilitytest for ProtocolStringList. by @copybara-service[bot] in #2366
- Hook up codegen tests for j2objc. by @copybara-service[bot] in #2364
- Enable editions support in j2objc plugin. by @copybara-service[bot] in #2365
- Fix open source test failures related to adapter methods prototype. by @copybara-service[bot] in #2369
- Fix new errors and warnings in protobuf compiler build. by @copybara-service[bot] in #2367
- Updates protobuf-java jars to v4.27.2 for public build. by @copybara-service[bot] in #2370
- Add a minimal protoc implementation based on the existing J2ObjC protoc that's used only for generating the class map file, to be used by the eventual J2ObjC proto implementation that will transpile Java proto lite instead of using the custom J2ObjC protoc. by @copybara-service[bot] in #2368
- Use more accurate license information for j2objc/protobuf by @copybara-service[bot] in #2373
- Add a minimal protoc implementation based on the existing J2ObjC protoc that's used only for generating the class map file, to be used by the eventual J2ObjC proto implementation that will transpile Java proto lite instead of using the custom J2ObjC protoc. by @copybara-service[bot] in #2374
- Remove jre_concurrent_dynamic. by @copybara-service[bot] in #2377
- Fixes deps in core_plus_channels open-source test. by @copybara-service[bot] in #2380
- Update TreeConverter to work with new constants added to Tree.Kind and ElementKind enums between supported JDK versions. by @copybara-service[bot] in #2382
- Updates java.util.stream package to latest Android release. by @copybara-service[bot] in #2383
- Update public build to JSpecify-1.0.0. by @copybara-service[bot] in #2384
- Issue #2332: fix bridging header for HelloSwift example. This demonstrates the correct way to include j2objc-generated headers into a Swift application. by @copybara-service[bot] in #2385
- Disable generic method signatures for the Google Protobuf package (type declaration generics were already disabled, but not method signatures). by @copybara-service[bot] in #2386
- Don't generate hasser methods for fields without presence by @copybara-service[bot] in #2389
- Add test support for Java 17, fixed default in setup(). by @copybara-service[bot] in #2390
- Adds RecordDeclaration AST type to translator. by @copybara-service[bot] in #2391
- Add --suppress-header-clang-tidy-warnings j2objc translation flag to suppress one clang tidy warnings. by @copybara-service[bot] in #2392
- Add C++11-added and C++20-added keywords to reserved_names.txt. by @copybara-service[bot] in #2395
- Disable iOS fstatat() reference due to privacy manifest scanning issue. by @copybara-service[bot] in #2397
- Adds reflection support for Java records. by @copybara-service[bot] in #2399
- Fixed execution running on Java 16 and higher, added test that record equals() methods compare using string or object equals (instead of ==). by @copybara-service[bot] in #2401
- Internal change by @copybara-service[bot] in #2404
- Ignore method without return value for property annotation. by @copybara-service[bot] in https://github.com/google/j2obj...