Skip to content

Replace Arrays.copyOfRange so that this library can be compiled on Android under 2.3 #7

Open

Description

@ngocdaothanh

This line uses Arrays.copyOfRange which is only available on Android 2.3+:
https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L337

Replacing it with this will make this library be compilable on Android under 2.3:
http://stackoverflow.com/questions/7970486/porting-arrays-copyofrange-from-java-6-to-java-5

Activity

  1. added a commit that references this issue on Mar 9, 2013
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions