Object::HashBase 0.018 fails role composition and constant behavior
The CPAN tester run for Object::HashBase-0.018 fails 4 of 97 tests under PerlOnJava, while the complete upstream suite passes under system Perl.
Failures
t/HashBase.t: readonly constant behavior returns not const instead of const.
t/role_consume.t: the role is not composed into the consumer; cr and set_cr are missing.
t/role_modifiers.t: the deferred around modifier is not applied (inner instead of wrapped(inner)).
The failures reproduce with both the JVM backend and the interpreter backend. System Perl passes all 115 tests using Role::Tiny 2.002005.
Reproduction
Distribution: Object::HashBase-0.018
Archived CPAN report:
/tmp/cpan_random_logs/20260824-171428-41866/failures/Object-HashBase--from--Object-HashBase.log
Focused failing tests:
timeout 120 ./jperl t/role_consume.t
timeout 120 ./jperl t/role_modifiers.t
timeout 120 ./jperl --interpreter t/role_consume.t
timeout 120 ./jperl --interpreter t/role_modifiers.t
The issue appears to involve PerlOnJava handling of compile-time constant/sub installation and deferred Role::Tiny method composition.
Object::HashBase 0.018 fails role composition and constant behavior
The CPAN tester run for
Object::HashBase-0.018fails 4 of 97 tests under PerlOnJava, while the complete upstream suite passes under system Perl.Failures
t/HashBase.t: readonly constant behavior returnsnot constinstead ofconst.t/role_consume.t: the role is not composed into the consumer;crandset_crare missing.t/role_modifiers.t: the deferredaroundmodifier is not applied (innerinstead ofwrapped(inner)).The failures reproduce with both the JVM backend and the interpreter backend. System Perl passes all 115 tests using
Role::Tiny 2.002005.Reproduction
Distribution:
Object::HashBase-0.018Archived CPAN report:
/tmp/cpan_random_logs/20260824-171428-41866/failures/Object-HashBase--from--Object-HashBase.logFocused failing tests:
The issue appears to involve PerlOnJava handling of compile-time constant/sub installation and deferred
Role::Tinymethod composition.