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.

Assignee

Peter Edberg

Reporter

Markus Scherer

Components

Labels

None

Reviewer

None

Priority

minor

Time Needed

Hours

Fix versions

Configure