Skip to content

DateTime::Precise arithmetic regression and JVM hang #1218

Description

@fglock

Summary

DateTime::Precise v1.05 regresses under PerlOnJava. The distribution is pure Perl and its complete test suite passes under system Perl.

Reproduction

From the DateTime-Precise-1.05 distribution:

perl -Ilib -It t/01date_time.t
timeout 120 ./jperl -Ilib -It t/01date_time.t
timeout 120 ./jperl --interpreter -Ilib -It t/01date_time.t

The test file contains a 204-test date/time arithmetic and conversion suite.

Results

  • System Perl: all 204 tests pass.
  • PerlOnJava interpreter: completes, but reports many incorrect results across date construction, arithmetic, calendar conversion, formatting, comparisons, and Julian-day calculations.
  • PerlOnJava JVM backend: emits results through test 51, then does not terminate; a bounded run exits with timeout status 124.

The original CPAN run also produced no output for 113 seconds and hit the tester soft timeout.

Regression metadata: archived run 20260902-105744-25704; previously passed on 2026-08-20 at commit 1af78283f.

This appears to involve shared date/numeric runtime behavior, with an additional JVM non-termination case. No XS, native, service, or platform prerequisite is involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:backendJVM interpreter or execution-backend behaviorarea:performancePerformance optimization and hangsarea:runtimeCore Perl runtime semanticsbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions