-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b24
-
generic
-
generic
Currently, there is no `java.io.Console` methods that explicitly take a Locale as an argument for formatting strings. Adding those overloaded methods would be beneficial, i.e,
```
public Console printf(Locale locale, String format, Object... args)
```
and similar ones for `format()`, `readLine()`, and `readPassword()`.
The motivation here is that there is no alternative for users to do this kind of explicit locale formatting with Console. Other format classes such as String.format(), and its impl Formatter offer such overloads.
```
public Console printf(Locale locale, String format, Object... args)
```
and similar ones for `format()`, `readLine()`, and `readPassword()`.
The motivation here is that there is no alternative for users to do this kind of explicit locale formatting with Console. Other format classes such as String.format(), and its impl Formatter offer such overloads.
- csr for
-
JDK-8330536 Console methods with explicit Locale
- Closed
There are no Sub-Tasks for this issue.