You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2012/04/30 11:01:46 UTC

[jira] [Created] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale

Kristian Waagan created DERBY-5733:
--------------------------------------

             Summary: 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
            Priority: Minor


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

        

[jira] [Assigned] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen reassigned DERBY-5733:
-----------------------------------------

    Assignee: Knut Anders Hatlen

Oops... I fixed up this test a while ago and made it use escape sequences as suggested. But then I forgot about it when I wrote the script that helped me rewrite it in DERBY-5695, and the unescaped characters reappeared. I'll fix it again.
                
> 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
>
> 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

        

[jira] [Resolved] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-5733.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.9.0.0

Thanks, Kristian.
Committed revision 1332938.
                
> 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
>             Fix For: 10.9.0.0
>
>         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

        

[jira] [Closed] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-5733.
----------------------------------


Closing issue, I can no longer see the warnings in Derby-trunk build #1312 ([1]).

[1] https://builds.apache.org/job/Derby-trunk/1312/
                
> 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
>             Fix For: 10.9.0.0
>
>         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

        

[jira] [Updated] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Commented] (DERBY-5733) Source file for OrderByAndSortAvoidance contains characters not available in the C locale

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265169#comment-13265169 ] 

Kristian Waagan commented on DERBY-5733:
----------------------------------------

Thanks, Knut.

+1 to commit
                
> 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