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:

Assignee

Shane Carr

Reporter

Shane Carr

Components

Reviewer

None

Priority

critical

Time Needed

None

Fix versions

Configure