镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Msgpack truncates data member #261

Description

@paddybyers

We are seeing truncation of the data member when a ProtocolMessage is encoded.

The problem has been confirmed on Android 4.4.2 with the ably-java 0.8.8 library, which uses msgpack-core 0.8.11.

The problem is not seen on ably-java 0.8.7 (using msgpack-core 0.8.2).

The following platforms seem to have no issue:

Any Oracle JRE
Android 5.0.1, 6.0, 7.0.

The suspicion is a incompatibility between the msgpack lib and the version of java.nio.charset.CharsetEncoderICU in earlier Android versions. There have been several issues with msgpack, and there are still open issues on 0.8.11: msgpack/msgpack-java#405.

Plan is to:

  • narrow down the specific string or struct that causes the issue so we can file an issue with msgpack;

  • in the ably-java lib, force use of the JSON encoding on android versions < 5.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions