8263481: Specification of JComponent::setDefaultLocale doesn't mention that passing 'null' restores VM's default locale#3003
Conversation
…n that passing 'null' restores VM's default locale
|
👋 Welcome back psadhukhan! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
@prsadhuk This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 518 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
@prsadhuk Since your change was applied there have been 522 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit d24e4cf. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The current state of specification for
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JComponent.html#setDefaultLocale(java.util.Locale)
doesn't mention anything about passing 'null' as a new default locale.
In fact for OpenJDK implementation passing 'null' restores the default VM's locale.
This is now explicitly stated in javadoc.
Progress
Issue
Reviewers
Download
To checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3003/head:pull/3003$ git checkout pull/3003To update a local copy of the PR:
$ git checkout pull/3003$ git pull https://git.openjdk.java.net/jdk pull/3003/head