Skip to content

Fix CPAN compiler and tooling dependencies - #927

Merged
fglock merged 3 commits into
masterfrom
fix/jcpan-lace-jsonrpc-mab2-programinfo
Aug 12, 2026
Merged

Fix CPAN compiler and tooling dependencies#927
fglock merged 3 commits into
masterfrom
fix/jcpan-lace-jsonrpc-mab2-programinfo

Conversation

@fglock

@fglock fglock commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • fix reusable compiler/runtime/tooling issues exposed by Template::Lace, Sledge::Plugin::JSONRPC, and Catmandu::Exporter::MAB2 without distribution preferences
  • add Java-backed Data::Util scalar classification, YAML::Syck compatibility, XML::LibXML::Reader/BOM support, and POSIX/CPAN tooling fixes
  • preserve object exception values, try/catch returns, named-character regexes, bareword isa operands, cloned weak references, and returned aggregate ownership
  • skip overloaded copy constructors for unshared aggregate objects, preserving Math::BigInt family subclass fields during compound assignment

Log::ProgramInfo remains excluded because its installed test fails identically on system Perl when parsing the uname-derived nested log key.

Test plan

  • make — pass
  • make test-bundled-modules — 384/384 files pass, zero skips/failures
  • JPERL_TEST_FILTER=sub_m make test-bundled-modules — 4/4 Math::BigInt subclass files pass
  • ./jcpan -t Template::Lace — 2 files / 142 tests pass
  • ./jcpan -t Sledge::Plugin::JSONRPC — all 4 files pass (two optional POD skips)
  • ./jcpan -t Catmandu::Exporter::MAB2 — 10 files / 92 tests pass
  • new overload regression test validated with system Perl and both PerlOnJava backends

Generated with Codex

@fglock
fglock force-pushed the fix/jcpan-lace-jsonrpc-mab2-programinfo branch from abcb456 to 7262b8a Compare August 12, 2026 08:21
fglock and others added 3 commits August 12, 2026 10:22
Fix reusable parser, compiler, ownership, exception, XML, and CPAN version
probe behavior exposed by Template::Lace, Sledge::Plugin::JSONRPC, and
Catmandu::Exporter::MAB2. Add bundled Data::Util and YAML::Syck compatibility
implementations without distribution preferences.

Document the completed compatibility batch and its validation results.

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

Co-Authored-By: Codex <223018245+openai-codex[bot]@users.noreply.github.com>
Skip overloaded copy constructors for unshared hash- and array-backed objects.
This matches Perl's copy-on-write optimization and prevents Math::BigInt family
copy methods from discarding subclass-only fields during compound assignment.

Keep copy constructors active for aliased aggregate objects and add a focused
system-Perl-compatible regression test.

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

Co-Authored-By: Codex <223018245+openai-codex[bot]@users.noreply.github.com>
Avoid doubling the leading backslash when named Unicode characters are
resolved inside character classes. Add system-Perl-validated regression
coverage and record the follow-up validation phase.

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

Co-Authored-By: OpenAI Codex <codex@openai.com>
@fglock
fglock force-pushed the fix/jcpan-lace-jsonrpc-mab2-programinfo branch from 7262b8a to e120664 Compare August 12, 2026 08:37
@fglock
fglock merged commit 04bc752 into master Aug 12, 2026
2 checks passed
@fglock
fglock deleted the fix/jcpan-lace-jsonrpc-mab2-programinfo branch August 12, 2026 09:49
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