Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception handling, overloading, global scope #7

Merged
merged 10 commits into from
Apr 29, 2024

Conversation

wenxi-zeng
Copy link
Contributor

@wenxi-zeng wenxi-zeng commented Apr 24, 2024

  • better exception handling to capture c++, kotlin and jni exceptions
  • add support for overloading methods with the same name but different signature
  • add global scope to allow js value persist across multiple scopes
  • deadlock prevention for nested scope calls
  • more unit tests
  • bug fixes

@wenxi-zeng wenxi-zeng changed the title Jni excpetion handling exception handling, overloading, global scope Apr 25, 2024
@wenxi-zeng wenxi-zeng merged commit 16db24a into main Apr 29, 2024
6 checks passed
@wenxi-zeng wenxi-zeng deleted the jni_excpetion_handling branch April 29, 2024 15:16
wenxi-zeng added a commit that referenced this pull request Jun 15, 2024
* add try catch to jni

* bug fix for exception handler

* make get operator return nullable value

* add ability to do things in global scope to get away from memory management

* bug fix and more unit tests

* add comments

* add support for overloading methods

* optimize thread to avoid deadlock

* add global memory table and unit tests for it

* handle null property in json object

---------

Co-authored-by: Wenxi Zeng <wzeng@twilio.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants