Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14154

`ant javadoc` task broken due to UTF-8 characters in multiple source files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.16, 3.11.2, 4.0-alpha1, 4.0
    • Build
    • None
    • Low

    Description

      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.

      Attachments

        1. build.log
          235 kB
          Johannes Grassler
        2. javadoc-encoding.patch
          0.5 kB
          Johannes Grassler

        Activity

          People

            jgrassler Johannes Grassler
            jgrassler Johannes Grassler
            Johannes Grassler
            Jason Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: