SimpleDateFormat::adoptCalendar() fails with a long locale ID

Description

See for how adoptCalendar() fails with a long locale ID; fixing that bug eliminated a memory leak but didn't address the code failing.

See why there is a hard limit, and make it go away.

Status

Assignee

Unassigned

Reporter

Markus Scherer

Labels

None

Reviewer

None

Time Needed

Hours

Start date

None

Components

Priority

minor