Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5733

Source file for OrderByAndSortAvoidance contains characters not available in the C locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • Test
    • None

    Description

      The test lang.OrderByAndSortAvoidance contains characters that can't be mapped to 7-bit ASCII. This results in warnings when generating the Javadocs.
      For instance:
      java/testing/org/apache/derbyTesting/functionTests/tests/lang/OrderByAndSortAvoidance.java:2959: warning: unmappable character for encoding ASCII
      insertTable2(it2, 15032385537L, "BatchTypeInstructions", "Ne pas jeter ces documents. Ils ont t faits pour quelque chose.");

      This can be remedied by using a different system locale, but the question is whether we should use char literals in the source code instead?
      Most systems use the C locale by default, as is the case for (at least one of) the build servers we use (search for "Ils ont" or move down a few pages):
      https://builds.apache.org/job/Derby-trunk/1306/console

      Attachments

        1. d5733-1a.diff
          18 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            People

              knutanders Knut Anders Hatlen
              kristwaa Kristian Waagan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: