Behavioural change of {@code} regarding Unicode characters?
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon May 14 20:29:00 UTC 2018
Martin,
Thanks again for the report and small test case. This is being tracked as:
https://bugs.openjdk.java.net/browse/JDK-8203176
Cause Known; fix may require some consideration.
-- Jon
On 05/14/2018 09:15 AM, Jonathan Gibbons wrote:
>
> Thanks. And, wow! I'll investigate.
>
> -- Jon
>
>
> On 5/14/18 8:41 AM, Martin Desruisseaux wrote:
>>
>> Hello Jonathan
>>
>> Le 14/05/2018 à 16:58, Jonathan Gibbons a écrit :
>>
>>> Can you give a specific example of a comment containing {@code} that
>>> illustrates the issue, showing the exact representation of the
>>> Unicode character?
>>
>> Attached is an example reproducing the issue. The Java source file
>> uses UTF-8 encoding. Steps to reproduce (assuming UTF-8 is the system
>> default encoding):
>>
>> javac Code.java
>> javadoc -charset UTF-8 Code.java
>>
>> Then open the Code.html generated file. The page shows:
>>
>> Hello World(\u2026).
>>
>> while the expected result is:
>>
>> Hello World(…).
>>
>> The same test with Java 8 shows the expected results.
>>
>> Regards,
>>
>> Martin
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20180514/4f2e57b7/attachment-0001.html>
More information about the javadoc-dev
mailing list