number_decimfmtprops.cpp has unaligned static memory

Description

The file has the following code:

We have a report that this causes a crash on ARM. The DecimalFormatProperties is being constructed into an unaligned char array, and the DecimalFormatProperties' MeasureUnit field assigns to an int32_t field in its ctor.

Possible fix: add alignas as follows:

Status

Assignee

Shane Carr

Reporter

Shane Carr

Reviewer

None

Time Needed

None

Start date

None

Components

Fix versions

Priority

critical
Configure