JDK-8232632 : 3.10.4: Explicitly mention that character literals can't contain \u0027 (') characters
Type:Enhancement
Component:specification
Sub-Component:language
Affected Version:13
Priority:P5
Status:Resolved
Resolution:Fixed
Submitted:2019-10-18
Updated:2019-12-23
Resolved:2019-12-23
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.
At the end of the informative paragraph which currently ends:
Instead, use '\r'.
Add:
Finally, it is not possible to write '\u0027' for a character literal containing an apostrophe (').
Comments
Resolved in the spec of JEP 368 (Text Blocks (Second Preview)).