Skip to content

unsafe.copyMemory call error #160

@shavy

Description

@shavy

I have a project running with JDK1.6 and msgpack v0.6.0,when I try to update to msgpack v0.7,it gaves me errors like:

The method copyMemory(long, long, long) in the type Unsafe is not applicable for the arguments (byte[], int, Object, long, int) MessageBuffer.java

I google it and found it may cause by the copyMemory function with 5 params is available on JDK 1.7 only(not sure) .If so,how can I manage this problem without update my JDK to 1.7? thx for helping!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions