[9] RFR: 8161937: non-ASCII characters in source code comments

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 20 19:58:46 UTC 2016



On 20/07/2016 20:51, Naoto Sato wrote:
> Hello,
>
> Please review this small fix for the following issue:
>
> https://bugs.openjdk.java.net/browse/JDK-8161937
>
> The proposed fix is located at:
>
> http://cr.openjdk.java.net/~naoto/8161937/webrev.00/
>
> This is just to replace those non-ASCII characters used in comments 
> with the equivalents in ASCII range. It's hard to tell the difference 
> from the webrev above, but the change replaced the following characters:
>
> U+2014 (EM DASH) -> U+002D (HYPHEN-MINUS -)
> U+2019 (RIGHT SINGLE QUOTATION MARK) -> U+0027 (APOSTROPHE ')
> U+201C (LEFT DOUBLE QUOTATION MARK) -> U+0022 (QUOTATION MARK ")
> U+201D (RIGHT DOUBLE QUOTATION MARK) -> U+0022 (QUOTATION MARK ")
It's subtle but it possible to see it with the udiffs. The change looks 
okay to me.

-Alan


More information about the core-libs-dev mailing list