Skip to content

StringUtils.parseLocaleString(): does not parse locale string in java 7 for Serbian (Latin) [SPR-14718] #19283

Closed

Description

@spring-projects-issues

Chalitha Jayanath opened SPR-14718 and commented

StringUtils.parseLocaleString() does not parse locale String in java 7 for Serbian (Latin).

Issue:
The Locale.toString() method is different from Java 6 to Java 7, also the Locale Code (variants) are different as well hence its returning different values in Java 7.

StringUtils.parseLocaleString() unable to pass the Locale Serbian (Latin) local.

See the attached Error log


Affects: 3.2.17, 4.2.7, 4.3.2

Attachments:

Issue Links:

Backported to: 4.2.8, 3.2.18

Activity

  1. spring-projects-issues commented on Sep 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Good catch! We accept the '#' character as valid there now.

  2. added
    type: bug
    status: backported
    in: core
    on Jan 11, 2019
  3. added this to the 4.3.3 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: corestatus: backportedtype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions