Skip to content

test: zone id must be normalized and GregorianCalendar testing - #473

Open
KyleAure wants to merge 4 commits into
jakartaee:mainfrom
KyleAure:250-zoneid-normalized
Open

KyleAure wants to merge 4 commits into
jakartaee:mainfrom
KyleAure:250-zoneid-normalized

Conversation

@KyleAure

@KyleAure KyleAure commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Fixes #250
Fixes #230
Fixes #177

  • Modify testZoneIdMapping for a ZoneId that does not need to be normalized
  • Add testZoneIdMappingNormalized to verify normalization of ZoneId during serialization
  • Add testZoneOffsetMappingNormalized to verify normalization of ZoneOffset during serialization
  • update testGregorianCalendarWithTimeMapping so that it verifiers the instance of time represented by serialized and deserialized GregorianCalendar equal each other without relying on Calendar.equals()

@KyleAure KyleAure self-assigned this Sep 24, 2026
@KyleAure KyleAure added the TCK label Sep 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZoneId serialization TCK wrongly test GregorianCalendar

1 participant