Skip to content

Fix selected CPAN module tests#841

Merged
fglock merged 4 commits into
masterfrom
fix/cpan-module-tests
Jun 4, 2026
Merged

Fix selected CPAN module tests#841
fglock merged 4 commits into
masterfrom
fix/cpan-module-tests

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented Jun 3, 2026

Summary

  • Fix caller line reporting for multi-line direct, method, and coderef calls.
  • Preserve enough source context for B::Deparse to handle source-visible anonymous subs used by upstream tests.
  • Add bundled CPAN distroprefs/patches for Parse::RecDescent, Crypt::URandom, XML::Filter::CharacterChunk, and related selected CPAN module test runs.
  • Remove the Test::Differences ignore-failures override by making its upstream test suite pass normally.

Testing

  • make
  • ./jcpan -t HealthCheck::Diagnostic
  • ./jcpan -t Parse::RecDescent
  • ./jcpan -t PGObject::Util::LogRep::TestDecoding
  • ./jcpan -t Test::Differences
  • ./jcpan -t Crypt::URandom
  • ./jcpan -t XML::Filter::CharacterChunk

@fglock fglock force-pushed the fix/cpan-module-tests branch 3 times, most recently from df54b56 to 45a65cd Compare June 3, 2026 13:22
Fix caller line reporting for multi-line calls, improve B::Deparse for source-visible anonymous subs, and add CPAN preferences/patches needed by selected pure-Perl distributions under PerlOnJava.

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

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock force-pushed the fix/cpan-module-tests branch from 45a65cd to 0e22c2e Compare June 3, 2026 13:49
fglock and others added 3 commits June 3, 2026 19:21
Fix DBIx::Class regressions seen in PR 841:
- avoid raw-source B::Deparse comparisons for pragma-wrapped generated eval snippets
- remove eval seed aliases after compile so generated eval lexicals do not keep DBIC cursors alive
- add quiet unreachable-cursor cleanup for DBIC cursor DESTROY paths
- finish DBI selectrow statement handles and sweep unreachable cursors before JDBC DDL

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

Co-Authored-By: Codex <codex@openai.com>
Replace DBI hot-path forced GC with Perl-style FREETMPS plus a narrow
no-JVM-GC sweep of destroyable objects. Keep explicit Internals::jperl_gc()
behavior unchanged while avoiding repeated System.gc() from DBIC statement
Active polling and DDL cleanup.

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

Co-Authored-By: Codex <codex@openai.com>
Add a Template Toolkit CPAN distropref that disables the optional XS Stash
build and accepts the pure-Perl defaults without prompting. Bootstrap the
pref so fresh jcpan runs copy it into ~/.perlonjava/cpan/prefs.

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

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock merged commit 786f601 into master Jun 4, 2026
2 checks passed
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