Skip to content

Add AutoGrow for NativeJavaList / fix NPE in NativeJavaList/Map - #889

Merged
gbrail merged 3 commits into
mozilla:masterfrom
FOCONIS:fix-map-list
May 11, 2021
Merged

gbrail merged 3 commits into
mozilla:masterfrom
FOCONIS:fix-map-list

Conversation

@rPraml

@rPraml rPraml commented May 10, 2021

Copy link
Copy Markdown
Contributor

This PR contains 2 code changes which should be unproblematic

  1. When a List/Map contains null values there was an NPE on cx.getWrapFactory().wrap(cx, this, obj, obj.getClass()); See: 0849085
  2. Support for auto grow, so that you can set values in a java.util.List. See cf84dbf

The rest are spotless fixes

@gbrail

gbrail commented May 11, 2021

Copy link
Copy Markdown
Collaborator

Those changes look very good and coverage is fine for the new stuff. Thanks!

@gbrail
gbrail merged commit 423e738 into mozilla:master May 11, 2021
@p-bakker p-bakker added the Java Interop Issues related to the interaction between Java and JavaScript label Oct 13, 2021
@p-bakker p-bakker added this to the Release 1.7.14 milestone Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java Interop Issues related to the interaction between Java and JavaScript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants