Skip to content

Fix lexical tooling dependencies for Test::Cookbook - #899

Merged
fglock merged 1 commit into
masterfrom
fix/test-cookbook-pod-usage-cgi
Aug 7, 2026
Merged

Fix lexical tooling dependencies for Test::Cookbook#899
fglock merged 1 commit into
masterfrom
fix/test-cookbook-pod-usage-cgi

Conversation

@fglock

@fglock fglock commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • add Java-backed PadWalker, Devel::Caller, and Devel::LexAlias compatibility for JVM and interpreter closures
  • preserve declared and captured lexical metadata so Lexical::Persistence and Test::Cookbook work
  • make UNIVERSAL::DOES honor overridden isa methods
  • teach jcpan about POD::Tested's omitted Pod::Parser prerequisite and tolerate Test::Block failures reproduced with system Perl
  • update the bundled-module, feature-matrix, changelog, and PadWalker progress documentation

Validation

  • make
  • focused lexical-alias and UNIVERSAL::DOES tests under both JVM and interpreter backends
  • system Perl validation of the new unit tests
  • JCPAN_RUN_BUNDLED_TESTS=1 ./jcpan -t Devel::LexAlias — 11 tests pass
  • ./jcpan -t Lexical::Persistence — 54 tests pass
  • ./jcpan -t Test::Cookbook — all tests pass
  • ./jcpan -t Pod::Usage::CGI — dependency chain passes; remaining distribution test When running under windows it fails in the RuntimeScalar.java #3 is also failing under system Perl

Add PadWalker, Devel::Caller, and Devel::LexAlias compatibility across
the JVM and interpreter backends. Preserve named lexical metadata and
captured-cell identity for anonymous and named closures.

Teach UNIVERSAL::DOES to dispatch through overridden isa methods, and
add CPAN preferences for POD::Tested's omitted Pod::Parser dependency
and Test::Block's host-Perl diagnostic failures.

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

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock merged commit c845599 into master Aug 7, 2026
2 checks passed
@fglock
fglock deleted the fix/test-cookbook-pod-usage-cgi branch August 7, 2026 18:21
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