Skip to content

App crashes when set undefined to reference type field #306

Closed
@slavchev

Description

@slavchev

Steps to reproduce

// Class1.java
public class Class1 {
   public Object field1;
}
// test.js
var c1 = new Class1();
c1.field1 = undefined;

Maybe we can provide automatic conversion from undefined to null or throw an exception.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions