You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Brown (JIRA)" <ji...@apache.org> on 2018/01/10 13:19:00 UTC

[jira] [Resolved] (CASSANDRA-14154) `ant javadoc` task broken due to UTF-8 characters in multiple source files

     [ https://issues.apache.org/jira/browse/CASSANDRA-14154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Brown resolved CASSANDRA-14154.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0
                   3.11.2
                   3.0.16

Nice find. +1 and committed as sha {{fde05f4f1b4ad814acf79bed61500aaf2ebe39d6}}.

Thanks!

> `ant javadoc` task broken due to UTF-8 characters in multiple source files
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14154
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14154
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build
>         Environment: Built on OpenSUSE Tumbleweed. I used the following java packages when building:
> {quote}
> titan% rpm -qa | grep java
> javapackages-local-4.7.0+git20170331.ef4057e7-1.5.x86_64
> java-1_8_0-openjdk-devel-1.8.0.151-1.3.x86_64
> python3-javapackages-4.7.0+git20170331.ef4057e7-1.5.x86_64
> java-1_8_0-openjdk-headless-1.8.0.151-1.3.x86_64
> timezone-java-2017c-1.3.noarch
> java-1_8_0-openjdk-1.8.0.151-1.3.x86_64
> libjavascriptcoregtk-1_0-0-2.4.11-7.6.x86_64
> libjavascriptcoregtk-4_0-18-2.18.4-1.1.x86_64
> javapackages-tools-4.7.0+git20170331.ef4057e7-1.5.x86_64
> {quote}
>            Reporter: Johannes Grassler
>            Assignee: Johannes Grassler
>            Priority: Minor
>             Fix For: 3.0.16, 3.11.2, 4.0
>
>         Attachments: build.log, javadoc-encoding.patch
>
>
> Several source files contain UTF-8 characters in String literals. When building the {{javadoc}} target with ant ({{ant javadoc}}), these will trip up javadoc, which defaults to ASCII encoding. See the {{build.log}} for what I did and the resulting output.
> I created a patch that will fix the problem ({{javadoc-encoding.patch}}), which is attached.
> I encountered this problem in 3.11.1, but I haven't checked whether other versions are affected as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org