GEODE-10404: Fix javaobject compilation for Java 11 (#980)
authorMario Salazar de Torres <mario.salazar.de.torres@est.tech>
Wed, 17 Aug 2022 06:26:01 +0000 (08:26 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Aug 2022 06:26:01 +0000 (08:26 +0200)
commitb3f8a08c3b79e2036a0ae964658d1849affa7e79
tree5a7569ca981b83b5b2f861e26d4b4aead7100260
parent26fe7275cce96b5a3ea785e38f340c9c9c6773d5
GEODE-10404: Fix javaobject compilation for Java 11 (#980)

- After merging #973, javaobject compilation was broken for Java 11.
   The build passed since packer images uses Java 8, but as docker build
   images uses Java 11, compilation is failing there.
 - Root cause of the compilation issue is the difference in UTF-8 string
   handling between Java 8 and Java 11.
 - So, the issue was fixed by specifying UTF-8 encoding while compiling.
cppcache/integration/test/PdxInstanceTest.cpp
tests/javaobject/CMakeLists.txt
tests/javaobject/ComparePdxInstanceFunction.java