-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b71
-
generic
-
generic
The spec for java.util.Formatter class has a chapter Summary / Argument Index. In that chapter there are following text in Mozilla Firefox browser:
===
For example, the following two statements would produce identical strings:
Calendar c = ...;
String s1 = String.format("Duke's Birthday: %1$tm %1$te,%1$tY", c);
String s2 = String.format("Duke's Birthday: %1$tm %
===
The code for s2 is truncated. So the spec should be fixed.
===
For example, the following two statements would produce identical strings:
Calendar c = ...;
String s1 = String.format("Duke's Birthday: %1$tm %1$te,%1$tY", c);
String s2 = String.format("Duke's Birthday: %1$tm %
===
The code for s2 is truncated. So the spec should be fixed.