Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b94
-
Verified
Description
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.
Attachments
Issue Links
- relates to
-
JDK-7172553 A utility class that forms the basis of a String.join() operation
- Closed