-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: core-libs
-
b94
-
Verified
Specification for
http://download.java.net/jdk8/docs/api/java/util/StringJoiner.html
in b89 (initial) spec contains the following example:
* List<Person> people = ...
* String commaSeparatedNames =
* people.map(p -> p.getName()).into(new StringJoiner(", ")).toString();
there is no method Stream.into() currently so this code does not compile.
http://download.java.net/jdk8/docs/api/java/util/StringJoiner.html
in b89 (initial) spec contains the following example:
* List<Person> people = ...
* String commaSeparatedNames =
* people.map(p -> p.getName()).into(new StringJoiner(", ")).toString();
there is no method Stream.into() currently so this code does not compile.
- relates to
-
JDK-7172553 A utility class that forms the basis of a String.join() operation
-
- Closed
-