cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11077) Set javac encoding to utf-8
Date Wed, 27 Jan 2016 16:00:42 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119657#comment-15119657
] 

Jason Brown commented on CASSANDRA-11077:
-----------------------------------------

+1. committed as sha 02d8ebd8a485fed03245c3657093af694fea1688

> Set javac encoding to utf-8
> ---------------------------
>
>                 Key: CASSANDRA-11077
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11077
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Trivial
>              Labels: windows
>             Fix For: 3.4
>
>
> CASSANDRA-10661 introduced some utf-8 characters on the test suite, so compilation is
failing on Windows which does not use utf-8 as default encoding
> {noformat}
> build-test:
>     [javac] Compiling 407 source files to C:\Users\Paulo\Repositories\cassandra\build\test\classes
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1032:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, comment, UTF8Type.instance.decompose("ΓôêΓôàΓÆ║ΓÆ╕ΓÆ╛ΓÆ╢Γô?ΓÇêΓÆ₧ΓÆúΓÆ£ΓÆ¡ΓÆ«
and normal ones"), System.currentTimeMillis());
>     [javac]                                                                         
    ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1036:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, comment, UTF8Type.instance.decompose("Θ╛?Θª¡Θ¼▒"),
System.currentTimeMillis());
>     [javac]                                                            ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1062:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1071:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?Θª¡Θ¼▒")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1096:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1105:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?Θª¡Θ¼▒")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1129:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, comment, UTF8Type.instance.decompose("Θ╛?Θª¡Θ¼▒"),
System.currentTimeMillis());
>     [javac]                                                            ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1149:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1158:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?Θª¡Θ¼▒")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1180:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1189:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(comment, Operator.EQ,
UTF8Type.instance.decompose("Θ╛?Θª¡Θ¼▒")));
>     [javac]                                                                         
                                 ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1305:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, fullName, UTF8Type.instance.decompose("Σ╗?τ╛Ä τǺµ╛ñ"),
System.currentTimeMillis());
>     [javac]                                                             ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1309:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, fullName, UTF8Type.instance.decompose("µÖâσ«? Θ½ÿΘáê"),
System.currentTimeMillis());
>     [javac]                                                                ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1313:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, fullName, UTF8Type.instance.decompose("σ╝ÿσ¡? σñºτ½╣"),
System.currentTimeMillis());
>     [javac]                                                                ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1317:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, fullName, UTF8Type.instance.decompose("µ║ǵ₧? µªÄµ£¼"),
System.currentTimeMillis());
>     [javac]                                                                ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1325:
error: unmappable character for encoding Cp1252
>     [javac]         update(rm, fullName, UTF8Type.instance.decompose("σñºΦ╝? ΘÄîτö░"),
System.currentTimeMillis());
>     [javac]                                                                ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1343:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(fullName, Operator.EQ,
UTF8Type.instance.decompose("µÖâσ«? Θ½ÿΘáê")));
>     [javac]                                                                         
                                     ^
>     [javac] C:\Users\Paulo\Repositories\cassandra\test\unit\org\apache\cassandra\index\sasi\SASIIndexTest.java:1346:
error: unmappable character for encoding Cp1252
>     [javac]         rows = getIndexed(store, 10, buildExpression(fullName, Operator.EQ,
UTF8Type.instance.decompose("σñºΦ╝?")));
>     [javac]                                                                         
                                     ^
>     [javac] 18 errors
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message