Skip to content
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

Forbid MessageFormat.format(String,Object[]) because it uses default locale #48

Merged
merged 1 commit into from
Mar 18, 2015

Conversation

shalinmangar
Copy link
Contributor

In SOLR-7258 we found that MessageFormat.format(String,Object[]) internally uses the MessageFormat constructor that uses the default local (this constructor is already banned). This pull request adds that signature to jdk-unsafe-1.5.txt.

@uschindler
Copy link
Member

Thanks Shalin! I will just commit that :-) Once forbidden 1.8 is out, we can remove the signatures from Lucene/Solr.

Uwe

uschindler added a commit that referenced this pull request Mar 18, 2015
Forbid MessageFormat.format(String,Object[]) because it uses default locale
@uschindler uschindler merged commit 1e282dd into policeman-tools:master Mar 18, 2015
@uschindler uschindler added this to the 1.8 milestone Mar 18, 2015
@uschindler uschindler self-assigned this Mar 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants