Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Sep 15, 2016 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Sep 15, 2016

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

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants