JDK-8203442 : String::transform
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-05-18
  • Updated: 2021-06-16
  • Resolved: 2018-11-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12 b22Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Description
The String::transform instance method allows the application of a lambda function to a string. The function should expect a single String argument and produce an object result.
Comments
This enhancement sets a precedent for the use of the word "transform" for a method that takes a function and passes 'this' to it and returns an instance of some arbitrary type. See http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-December/057104.html
16-06-2021

Reverting to transform
13-11-2018

String::transform renamed to String::map
12-11-2018