[jira] [Updated] (GEODE-10404) Fix compilation for Java 11

2022-09-16 Thread Alberto Gomez (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alberto Gomez updated GEODE-10404:
--
Fix Version/s: 1.15.1
   1.16.0

> Fix compilation for Java 11
> ---
>
> Key: GEODE-10404
> URL: https://issues.apache.org/jira/browse/GEODE-10404
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Mario Salazar de Torres
>Assignee: Mario Salazar de Torres
>Priority: Major
>  Labels: needsTriage, pull-request-available
> Fix For: 1.15.1, 1.16.0
>
>
> It seems that after merging 
> [#973|https://github.com/apache/geode-native/pull/973], compilation with 
> Geode Native Docker build image for version 1.15.0 is broken. This is the 
> compilation error:
> {noformat}
> tests/javaobject/ComparePdxInstanceFunction.java:42: error: unmappable 
> character (0xAC) for encoding US-ASCII
> pdxInstanceFactory.writeString("utfHugeField", longString + "???");
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (GEODE-10404) Fix compilation for Java 11

2022-08-02 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-10404:
---
Labels: needsTriage pull-request-available  (was: needsTriage)

> Fix compilation for Java 11
> ---
>
> Key: GEODE-10404
> URL: https://issues.apache.org/jira/browse/GEODE-10404
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Mario Salazar de Torres
>Assignee: Mario Salazar de Torres
>Priority: Major
>  Labels: needsTriage, pull-request-available
>
> It seems that after merging 
> [#973|https://github.com/apache/geode-native/pull/973], compilation with 
> Geode Native Docker build image for version 1.15.0 is broken. This is the 
> compilation error:
> {noformat}
> tests/javaobject/ComparePdxInstanceFunction.java:42: error: unmappable 
> character (0xAC) for encoding US-ASCII
> pdxInstanceFactory.writeString("utfHugeField", longString + "???");
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (GEODE-10404) Fix compilation for Java 11

2022-08-02 Thread Mario Salazar de Torres (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Salazar de Torres updated GEODE-10404:

Description: 
It seems that after merging 
[#973|https://github.com/apache/geode-native/pull/973], compilation with Geode 
Native Docker build image for version 1.15.0 is broken. This is the compilation 
error:

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

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.

  was:
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:

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

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.


> Fix compilation for Java 11
> ---
>
> Key: GEODE-10404
> URL: https://issues.apache.org/jira/browse/GEODE-10404
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Mario Salazar de Torres
>Assignee: Mario Salazar de Torres
>Priority: Major
>  Labels: needsTriage
>
> It seems that after merging 
> [#973|https://github.com/apache/geode-native/pull/973], compilation with 
> Geode Native Docker build image for version 1.15.0 is broken. This is the 
> compilation error:
> {noformat}
> tests/javaobject/ComparePdxInstanceFunction.java:42: error: unmappable 
> character (0xAC) for encoding US-ASCII
> pdxInstanceFactory.writeString("utfHugeField", longString + "???");
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (GEODE-10404) Fix compilation for Java 11

2022-08-02 Thread Alexander Murmann (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Murmann updated GEODE-10404:
--
Labels: needsTriage  (was: )

> Fix compilation for Java 11
> ---
>
> Key: GEODE-10404
> URL: https://issues.apache.org/jira/browse/GEODE-10404
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Mario Salazar de Torres
>Priority: Major
>  Labels: needsTriage
>
> 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:
> {noformat}
> tests/javaobject/ComparePdxInstanceFunction.java:42: error: unmappable 
> character (0xAC) for encoding US-ASCII
> pdxInstanceFactory.writeString("utfHugeField", longString + "???");
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)