Skip to content

Fix jcpan compiler and tooling compatibility - #913

Open
fglock wants to merge 2 commits into
masterfrom
fix/jcpan-critic-inline-timezone
Open

Fix jcpan compiler and tooling compatibility#913
fglock wants to merge 2 commits into
masterfrom
fix/jcpan-critic-inline-timezone

Conversation

@fglock

@fglock fglock commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a Java-backed Digest::JHash replacement for XS-dependent CPAN chains
  • preserve read-only distribution Makefile.PL files during CPAN metadata fallback
  • avoid unnecessary AutoSplit JVM launches for POD-only modules
  • materialize CORE/keywords.h and correct special-global stash enumeration for B::Keywords
  • reduce redundant weak-reference reachability walks in PPI-sized object trees
  • preserve explicit registered-warning suppression and prevent stale virtual-fd reuse across borrowed handles

No distribution preferences were added.

Validation

  • make — passes all compilation and unit-test shards
  • jcpan -t Perl::Critic::More — 8 files, 55 tests, PASS
  • jcpan -t Module::Install::InlineModule — 2 files, 1 test, PASS
  • upstream B::Keywords on system Perl — 3 files, 553 tests, PASS
  • upstream B::Keywords on PerlOnJava — PASS
  • upstream Digest::JHash on system Perl — 2 files, 6 tests, PASS
  • bundled Digest::JHash regression test — PASS
  • PPI round-trip stress test — reached assertion 2,101 without failure before its 900-second guard (previously 82 assertions in 120 seconds)

TimeZone::TimeZoneDB remains excluded under the requested system-Perl rule: its upstream suite fails under system Perl, and its published prerequisites contain the circular chain Params::Get -> Test::Returns -> Return::Set -> Params::Get.

Generated with Codex

fglock and others added 2 commits August 10, 2026 20:42
Add a Java Digest::JHash replacement, preserve read-only distribution
Makefile.PL files during CPAN fallback, avoid unnecessary AutoSplit JVM
launches, provide CORE/keywords.h, correct special-global stash exposure,
and reduce redundant weak-reference reachability walks.

Document validation for Perl::Critic::More,
Module::Install::InlineModule, PPI, and TimeZone::TimeZoneDB.

Generated with [Codex](https://developers.openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
Treat explicit registered-warning mask bits as authoritative so category
suppression is not overridden by the all bit. Prevent stale recycled virtual
descriptors from replacing live borrowed-handle mappings.

Generated with [Codex](https://developers.openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock force-pushed the fix/jcpan-critic-inline-timezone branch from 1b2912f to 2f28d6c Compare August 10, 2026 18:46
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