You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2019/10/09 14:32:00 UTC
[jira] [Commented] (CAMEL-14045) Protect against ByteBuffer /
CharBuffer inconsistencies between jdk 8 and 9
[ https://issues.apache.org/jira/browse/CAMEL-14045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947738#comment-16947738 ]
Guillaume Nodet commented on CAMEL-14045:
-----------------------------------------
This is the case in some calls in {{NIOConverter}} and {{org.apache.camel.util.Scanner}}
> Protect against ByteBuffer / CharBuffer inconsistencies between jdk 8 and 9
> ---------------------------------------------------------------------------
>
> Key: CAMEL-14045
> URL: https://issues.apache.org/jira/browse/CAMEL-14045
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 3.0.0.RC2
> Reporter: Guillaume Nodet
> Priority: Major
> Fix For: 3.0.0
>
>
> When built on JDK 9, some features method calls become broken on JDK 8 such as {{ByteBuffer.flip()}} or {{CharBuffer.position(int)}}. We need to protect against those problems using something similar to [[https://github.com/gnodet/mvnd/blob/master/src/main/java/org/jboss/fuse/mvnd/daemon/BufferCaster.java]]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)