Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Encapsulate Marker position and sprite #2551

Closed

Description

@bleege

As #2535 showed us bad things can happen when field level access to Java objects is allowed. Let's double back and tighten this up. In order to do this we're going to have to first refactor the JNI bindings as described.

Going forward let's all @mapbox/mobile try to use the stock Java get/set encapsulation construct when possible. It'll help with automated testing when that rolls around as well as make life a little less dangerous.

Activity

  1. added
    Android
    on Oct 7, 2015
  2. added this to the android-v2.2.0 milestone on Oct 7, 2015
  3. ljbade commented on Oct 8, 2015

    @ljbade
    Contributor

    @bleege I'll hit moving the other ...Options classes to use get/set in the PR for #2546. Will keep an eye out for other JNI gremlins too.

  4. ljbade commented on Oct 13, 2015

    @ljbade
    Contributor

    Landed in #2592

  5. bleege commented on Oct 13, 2015

    @bleege
    ContributorAuthor

    Updated to android-v2.1.0 as this was done early.

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

    Android

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions