Skip to content

Apache-Admin-Config 0.95 fails in AUTOLOAD method proxy calls #1899

Closed

Description

@fglock

Summary

Apache-Admin-Config 0.95 fails under PerlOnJava because its new method constructs Apache::Admin::Config::Tree with forward-qualified indirect-object syntax before the target package is declared. The parser treats the class name as a direct call instead of an indirect constructor, leading to Can't call method "Tree" on an undefined value in AUTOLOAD.

Evidence

  • CPAN regression run 20261027-085020-3852; the tester records a prior pass on 2026-10-04 at commit 3af9e3128.
  • System Perl 5.42.2: all 13 test programs and 1,042 tests pass.
  • PerlOnJava before the fix: all 13 test programs abort; focused t/comment.t reproduces on both JVM and interpreter backends.
  • A project regression test now covers object type and argument forwarding for this syntax. It passes on system Perl and, after the fix, both PerlOnJava backends.
  • Environment: macOS. The archived log does not record a Java version.
  • The distribution is pure Perl and declares only core FileHandle as a prerequisite.

Related issue check

Closed #1634 describes a separate XML::XPath AUTOLOAD tail-call case. A shared root cause has not been established.

Fix

See PR #1900.

Activity

  1. added
    bugSomething isn't working
    area:runtimeCore Perl runtime semantics
    area:backendJVM interpreter or execution-backend behavior
    area:parserParsing compilation AST and eval behavior
    and removed
    area:runtimeCore Perl runtime semantics
    area:backendJVM interpreter or execution-backend behavior
    on Oct 27, 2026
  2. added a commit that references this issue on Oct 27, 2026
    663933e
  3. added a commit that references this issue on Oct 27, 2026
    e02490c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:parserParsing compilation AST and eval behaviorbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions