MessageFormat.applyPattern() can fail on a Turkish system

Description

Deleted Component: formatting

The MessageFormat parser implicitly uses the default locale when lowercasing argument types such as "TIME":

This will break when someone uses an argument type that contains an uppercase 'I' (because it Turkish-lowercases to a dotless i).

We should probably check all calls to toLowerCase() without locale parameters.

Activity

Show:
TracBot
July 1, 2018, 12:11 AM
Trac Comment 3 by —2011-04-08T19:10:20.375Z

Part of ticket #8319 implementation.

TracBot
July 1, 2018, 12:11 AM
Trac Comment 4 by —2011-04-22T23:25:15.284Z

Fixed findKeyword(). Submitted ticket #8488 for all-ICU cleanup.

Fixed

Assignee

Markus Scherer

Reporter

Markus Scherer

Components

None

Labels

None

Reviewer

None

Priority

minor

Time Needed

Hours

Fix versions