db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale
Date Mon, 30 Apr 2012 17:15:49 GMT

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

Knut Anders Hatlen updated DERBY-5733:
--------------------------------------

    Attachment: d5733-1a.diff

Attached is a patch that replaces the problematic characters with escape sequences. Verified
that the test still passes, and that ant testingdocs doesn't emit any warnings in C locale.
                
> Source file for OrderByAndSortAvoidance contains characters not available in the C locale
> -----------------------------------------------------------------------------------------
>
>                 Key: DERBY-5733
>                 URL: https://issues.apache.org/jira/browse/DERBY-5733
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d5733-1a.diff
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message