Details
-
CSR
-
Resolution: Approved
-
P2
-
None
-
behavioral
-
low
-
-
Java API
-
SE
Description
Summary
Fix the javadoc for StringConcatFactory.makeConcat and makeConcatWithConstants of a valid concat method type with a maximum of 200 parameter slots.
Problem
The spec for StringConcatFactory.makeConcat and makeConcatWithConstants methods incorrectly state that a valid concat method type with a maximum of 200 parameter count. It should be a maximum of 200 parameter slots as it's stated in @apiNote of StringConcatFactory.
Solution
Fix the typo "parameter count" to "parameter slots".
Specification
The current spec of StringConcatFactory.makeConcat and makeConcatWithConstants states:
The parameter count in {@code concatType} is less than or equal to 200
will be changed to:
The number of parameter slots in {@code concatType} is less than or equal to 200
Attachments
Issue Links
- csr of
-
JDK-8187089 StringConcatFactory.makeConcat & makeConcatWithConstants should throw StringConcatException if parameter slot count is over 200
- Closed