Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.4
    • Component/s: Packaging
    • Labels:
    • Severity:
      Low

      Description

      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

      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
      

        Attachments

          Activity

            People

            • Assignee:
              pauloricardomg Paulo Motta
              Reporter:
              pauloricardomg Paulo Motta
              Authors:
              Paulo Motta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: