Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-10404

Fix compilation for Java 11

    XMLWordPrintableJSON

Details

    Description

      It seems that after merging #973, compilation with Geode Native Docker build image for version 1.15.0 is broken. This is the compilation error:

      tests/javaobject/ComparePdxInstanceFunction.java:42: error: unmappable character (0xAC) for encoding US-ASCII
          pdxInstanceFactory.writeString("utfHugeField", longString + "???");
      

      As it seems, the latest docker image is using Java 11, which handles UTF-8 strings in a different way to Java 8, so that's why compilation is working with packer images and not with Docker build image.

      Attachments

        Issue Links

          Activity

            People

              gaussianrecurrence Mario Salazar de Torres
              gaussianrecurrence Mario Salazar de Torres
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: