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

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.0.16, 3.11.2, 4.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
    • Severity:
      Low
    • Since Version:

      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

            • Assignee:
              jgrassler Johannes Grassler
              Reporter:
              jgrassler Johannes Grassler
              Authors:
              Johannes Grassler
              Reviewers:
              Jason Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: