You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JVM backend cleared $. when a temporary borrowed alias of an anonymous filehandle left a subroutine scope, even though the caller still owned the live IO glob. A subsequent IO::Handle->input_line_number therefore returned undef. Pod::Eventual propagated that value as start_line => undef, causing Pod::Elemental's Int constraint to fail.
Failing test: t/equiv-pods.t; original JVM run failed 1/3 test programs, with 0/4 subtests reached in the failing program.
System Perl oracle: all 3 files and 16 tests passed.
The focused regression fails on the unfixed origin/master baseline and passes on the fix under system Perl, JVM, and interpreter.
After the fix, all three distribution test files and all 16 tests pass under both PerlOnJava backends with the archived CPAN dependency load order.
The fix preserves last-read-handle context when an anonymous IO alias is borrowed and a live owner remains. Scope cleanup still clears the context when the actual owner leaves.
State: released
Agent/session: Codex issue-1933 CPAN classification follow-up
Scope: #1933, fix JVM IO::Handle->input_line_number behavior and add permanent regression coverage.
Work: feature/issue-1933-input-line-number, PR #1935 at bac75c7 (parent current master a5372ff)
Checkpoint: 2026-10-30; ready-for-review PR is open with the confirmed borrowed-anonymous-IO cleanup fix.
Evidence: unfixed-parent regression failed and passed with fix on system Perl/JVM/interpreter; current-master nice -n 19 make passed; full CPAN distribution passed 3 files/16 tests on both backends; check-links and offline changelog link check passed.
Blocked by: none
Next: await review and CI; no merge requested.
Activity
fglock commentedon Oct 30, 2026
State: released
Agent/session: Codex issue-1933 CPAN classification follow-up
Scope: #1933, fix JVM
IO::Handle->input_line_numberbehavior and add permanent regression coverage.Work: feature/issue-1933-input-line-number, PR #1935 at bac75c7 (parent current master a5372ff)
Checkpoint: 2026-10-30; ready-for-review PR is open with the confirmed borrowed-anonymous-IO cleanup fix.
Evidence: unfixed-parent regression failed and passed with fix on system Perl/JVM/interpreter; current-master
nice -n 19 makepassed; full CPAN distribution passed 3 files/16 tests on both backends; check-links and offline changelog link check passed.Blocked by: none
Next: await review and CI; no merge requested.
fix: preserve input line context across borrowed handle scope
fix: preserve input line context across borrowed handle scope