Skip to content

Adding support for java.time API#4627

Merged
shai-almog merged 3 commits intomasterfrom
support-java-time-api
Mar 20, 2026
Merged

Adding support for java.time API#4627
shai-almog merged 3 commits intomasterfrom
support-java-time-api

Conversation

@shai-almog
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 20, 2026

✅ Continuous Quality Report

Test & Coverage

Static Analysis

Generated automatically by the PR CI workflow.

@shai-almog
Copy link
Collaborator Author

shai-almog commented Mar 20, 2026

Compared 32 screenshots: 32 matched.

Native Android coverage

  • 📊 Line coverage: 7.51% (3830/50985 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.91% (18949/320532), branch 2.79% (869/31131), complexity 3.52% (1047/29784), method 6.21% (862/13887), class 10.32% (190/1841)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 7.51% (3830/50985 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.91% (18949/320532), branch 2.79% (869/31131), complexity 3.52% (1047/29784), method 6.21% (862/13887), class 10.32% (190/1841)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

@shai-almog
Copy link
Collaborator Author

shai-almog commented Mar 20, 2026

iOS screenshot updates

Compared 32 screenshots: 31 matched, 1 updated.

  • landscape — updated screenshot. Screenshot differs (2556x1179 px, bit depth 8).

    landscape
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as landscape.png in workflow artifacts.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 140 seconds

Detailed Performance Metrics

Metric Duration
Simulator Boot 0 ms
Simulator Boot (Run) 2000 ms
App Install 3000 ms
App Launch 8000 ms
Test Execution 184000 ms

@shai-almog shai-almog force-pushed the support-java-time-api branch 2 times, most recently from 8ef99b0 to 9d28121 Compare March 20, 2026 09:28
@shai-almog shai-almog force-pushed the support-java-time-api branch from 9d28121 to ac70ba5 Compare March 20, 2026 09:55
@github-actions
Copy link

✅ ByteCodeTranslator Quality Report

Test & Coverage

  • Tests: 139 total, 0 failed, 2 skipped

Benchmark Results

  • Execution Time: 9842 ms

  • Hotspots (Top 20 sampled methods):

    • 18.87% java.lang.String.indexOf (331 samples)
    • 18.07% com.codename1.tools.translator.Parser.isMethodUsed (317 samples)
    • 15.85% com.codename1.tools.translator.Parser.addToConstantPool (278 samples)
    • 11.69% java.util.ArrayList.indexOf (205 samples)
    • 4.73% java.lang.Object.hashCode (83 samples)
    • 3.59% com.codename1.tools.translator.ByteCodeClass.calcUsedByNative (63 samples)
    • 2.05% com.codename1.tools.translator.ByteCodeClass.fillVirtualMethodTable (36 samples)
    • 2.00% java.lang.System.identityHashCode (35 samples)
    • 1.37% java.lang.StringBuilder.append (24 samples)
    • 1.37% java.lang.StringCoding.encode (24 samples)
    • 1.31% com.codename1.tools.translator.Parser.cullMethods (23 samples)
    • 1.14% com.codename1.tools.translator.BytecodeMethod.optimize (20 samples)
    • 0.97% sun.nio.fs.UnixNativeDispatcher.open0 (17 samples)
    • 0.91% sun.nio.ch.FileDispatcherImpl.write0 (16 samples)
    • 0.86% java.lang.Integer.getChars (15 samples)
    • 0.86% com.codename1.tools.translator.Parser.generateClassAndMethodIndexHeader (15 samples)
    • 0.80% com.codename1.tools.translator.BytecodeMethod.appendCMethodPrefix (14 samples)
    • 0.57% java.io.FileOutputStream.open0 (10 samples)
    • 0.51% com.codename1.tools.translator.ByteCodeClass.markDependent (9 samples)
    • 0.46% com.codename1.tools.translator.ByteCodeClass.updateAllDependencies (8 samples)
  • ⚠️ Coverage report not generated.

Static Analysis

  • ✅ SpotBugs: no findings (report was not generated by the build).
  • ⚠️ PMD report not generated.
  • ⚠️ Checkstyle report not generated.

Generated automatically by the PR CI workflow.

@shai-almog shai-almog merged commit 30a9a62 into master Mar 20, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant