Time::Format 1.16 exposes import and locale compatibility failures
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
Rechercherichtung
Start by running the named upstream tests: t/export1.t, t/export2.t, t/export3.t, and t/locale.t, on both PerlOnJava backends. Read the custom import implementation and the PerlOnJava handling of imported symbols under strict, then investigate how POSIX::setlocale interacts with I18N::Langinfo. Done means the upstream tests pass on both backends.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
The upstream Time::Format 1.16 suite passes under system Perl but fails under PerlOnJava on both execution backends. The archived run shows two independent compatibility failures: custom imports do not make exported symbols available under strict, and localized month/day names remain English after changing LC_TIME.
Evidence
CPAN run 20261005-091352-31215:
- System Perl 5.42.2: isolated install of the exact distribution and prerequisites, including recommended
Date::Manip7.00; all 26 test programs / 533 tests passed. - PerlOnJava JVM backend: 6/515 subtests failed across 4/26 test programs.
- PerlOnJava interpreter backend: reproduced failures in
t/export1.t,t/export2.t,t/export3.t, andt/locale.t. - Environment: macOS arm64, Java 24.0.2. The archived PerlOnJava log reports Perl 5.044001; the exact source commit was not recorded.
Failure 1: custom exports and strict compilation
The export tests load Time::Format with use_ok, which succeeds, then abort because imported %strftime, %manip, or %time symbols are still reported as undeclared. t/export2.t also reports Time::Format as a bareword under strict subs. The module's custom import installs aliases through symbolic typeglob assignments. PerlOnJava should make those imported symbols visible to the caller's strict compilation, as system Perl does.
Failure 2: locale changes are not reflected by I18N::Langinfo
t/locale.t fails the six French, German, and Spanish month/day checks; the returned names stay English. A focused probe shows POSIX::setlocale(LC_TIME, ...) returns the requested locale on PerlOnJava, but I18N::Langinfo::langinfo(MON_6()) still returns June on both JVM and interpreter. System Perl returns localized month names after the same calls.
Expected
All upstream tests should pass on both PerlOnJava backends. The imported-symbol behavior and the POSIX::setlocale/I18N::Langinfo interaction can be handled independently if they have different owners.
- Vorherrschende Sprache
- Perl
- Sterne
- 64
- Forks
- 7
- Ø Merge
- 4 Std. 27 Min.
- Gemergte PRs (30 T.)
- 178
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fglock/PerlOnJava
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
fglock/PerlOnJava#1651 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fglock/PerlOnJava#1579 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:cpan-port area:unicode bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
fglock/PerlOnJava#1341 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:backend area:cpan-port area:parser bug
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
fglock/PerlOnJava#1659 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
fglock/PerlOnJava#1657 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fglock/PerlOnJava
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
gugod/App-perlbrew#879 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
RotherOSS/otobo#6205 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add IO::Pipe classOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
yuki-kimoto/SPVM-IO#30 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
RotherOSS/servicecatalog#28 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
convos-chat/convos#977 ·