Skip to content

Fix CPAN random tester regressions#836

Merged
fglock merged 1 commit into
masterfrom
pr/cpan-random-regressions-snapshot
May 29, 2026
Merged

Fix CPAN random tester regressions#836
fglock merged 1 commit into
masterfrom
pr/cpan-random-regressions-snapshot

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 29, 2026

Summary

  • fix regex capture numification so constructs like chr(shift) work with captured strings
  • make CORE::GLOBAL::localtime and CORE::GLOBAL::gmtime overridable
  • preserve raw XML external entity system IDs, including explicit file: URIs
  • add targeted CPAN distroprefs/patches for fork, author-test, and packaging-path assumptions blocking affected modules
  • narrow the Error::Pure distropref so it does not match Error-Pure-Output-Text

Verification

  • make
  • ./jcpan -t LWP::Protocol::https
  • ./jcpan -t XML::Idiom
  • ./jcpan -t CGI::Widget::Tabs
  • ./jcpan -t DateTime::Format::Natural
  • ./jcpan -t Class::Utils
  • ./jcpan -t ExtUtils::CBuilder
  • ./jcpan -t Test::Output
  • ./jcpan -t LWP::UserAgent
  • ./jcpan -t Pod::Coverage
  • ./jcpan -t Test::Distribution
  • ./jcpan -t Test::MockTime
  • ./jcpan -t Test::MockTime::HiRes

Notes:

  • DateTime::Format::Natural exits successfully; CPAN still reports optional Bit::Vector as not OK because it is XS/C code with no Java XS implementation.
  • Test::Class remains covered by a distropref because its own suite hits Test::Builder diagnostic and attribute/CHECK edge cases, while downstream usage needed by Test::MockTime::HiRes works.

Fix PerlOnJava runtime and CPAN packaging issues surfaced by the random CPAN
tester regressions. This includes regex capture numification, CORE::GLOBAL
time-family overrides, XML external entity system IDs, and targeted CPAN
distroprefs for unsupported fork/native or packaging-path test assumptions.

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

Co-Authored-By: OpenAI Codex <codex@openai.com>
@fglock fglock force-pushed the pr/cpan-random-regressions-snapshot branch from 4221f63 to 2dbd8a1 Compare May 29, 2026 18:01
@fglock fglock merged commit b3182bf into master May 29, 2026
2 checks passed
@fglock fglock deleted the pr/cpan-random-regressions-snapshot branch May 29, 2026 18:24
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