Skip to content

Calling a Haxe object's function from Java fails #1117

@danielmar

Description

@danielmar

Hello,

With older versions of lime/openfl, I was able to call a haxe function from java using
haxeObject.call2("funcName", param1, param2);

However now I get a JNI error saying that funcName is not a field of the object.
My current workaround is to have a "funcName" dynamic variable that references the actual function.

openfl 6.5.0, lime 5.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions