JDK-8139070 : StringUTF16 should check for the maximum length
Type:Sub-task
Component:core-libs
Sub-Component:java.lang
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2015-10-07
Updated:2015-11-20
Resolved:2015-11-20
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.
...and throw OutOfMemoryError? This can also be used to collapse the getChar/putChar back to integer computation.
Something like:
http://cr.openjdk.java.net/~shade/8139070/webrev.00/