forked from wasmerio/wasmer-java
-
Notifications
You must be signed in to change notification settings - Fork 3
improved exception handling #2
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
georg-getz
added a commit
that referenced
this pull request
Mar 26, 2025
* added an ImportObject class that contains static classes representing… (#1) * added an ImportObject class that contains static classes representing the different import types Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * fix typos Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * improved exception handling (#2) Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * Main class (#3) * added command for running the main class Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * remove unnecessary comments in tests Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * №115 imported memory (#4) * made imported memory be initialized with the exported ones Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * removed logs Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added support for apple silicon and made the imported memory be accessible through the exports Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * small changes to the makefile Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * lfix encapsulation Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * uncomment tests Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * delete commented lines Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * remove big files Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * Added support for accessing globals from Java (#5) * Added support for accessing globals from Java Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * optimized imports Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * Panic (#6) * added util for panic Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * renamed to test Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added a function to invoke panics from java Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * fix(typo): change `Simple` to `Import` to match the example in mind (#7) * Binaries update (#8) * removed bintray mentions and added bonus configuration in the release yaml that requires testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * changed action provider for prerelease Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * removed creating pre-release Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * update gradelev Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added echo command for arch Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added line Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * fix Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * trying Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added missing line Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * switched sopaces for tabs Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * small changes Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * typo Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added a separate file for the mac release Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * 2nd try with arch Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * distribution Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added additional file for building the dylibs Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * nerf eddition level Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * another nerf Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * aded file for dylib generation Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * /testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * changed generation command Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * changed release action Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added rustup target Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * typo Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * typo Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * testing Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * changed all the yamls to activate on release to test everything together Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * added some logs as well Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * removed the 32 linux platform as github doesnt support such images and wasmer-vm causes crash when trying to cross-compile Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * change to on push Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * the aarch64v linux is incompatible too Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * removed slashes Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * deleted the outdated commandd in makefile Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * undo deleting the makefile rust build commands as it is apperantly used by the test yaml as well Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * Package all natives in a single jar. (#9) * Adapt dynamic_libs.yaml so that it uploads libs as artifacts. * Add condition when copying native libs to build dir. Test download artifacts in release.yaml. * Test fix pattern. * Test fix pattern. * Remove matrix. * Test remove pattern from artifact download. * Refactor dynamic_libs.yaml so that it's callable from release.yaml. * Add needs flag to release.yaml * Test list structure in native-libs directory. * Rework dynamic_libs.yaml so that it's reusable. Adapt release.yaml to use dynamic_libs_reusable.yaml. Executing release.yaml from a branch uploads the jar with all the possible native libs inside the workflow artifacts. Executing it from a tag uploads it to the tag's release. * Test param passs fix. * test * test * Remove github.event from the reusable workflow. * Use github.ref.type instead of github.ref * test * test * test * Remove test step from dynamic_libs_reusable.yaml. Use startsWith expression in release.yaml. * Add docs. Change name of JAR. * Test using randomizes artifacts dir. * Fix export syntax. * Add section in README.md for env variable. Rename GH_ARTIFACTS_DIR to EXT_ARTIFACTS_DIR * Change 'native-libs' to using env var. * test * test * Push EXT_ARTIFACTS_DIR to gh env. * Add mkdir. * Fix mkdir. * Fix mkdir. * Fix usage of env var in "with" section of step. * Test * Remove comments. * Remove leftovers. * fix: use "uname -m" when retrieving os arch in Native.java. Change win32 to windows. * fix: translate x86_64 to amd64 to keep uniform naming of artifacts. * Substitute random uuid for mktemp command. * Test fix env var assign * Test fix env var assign * Test remove cache steps. * Revert cache removal. --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> Co-authored-by: Yordan Atanasov <99724706+Zurcusa@users.noreply.github.com> * Logging and refactoring (#11) * added a bunch of comments and logs Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * update actions cache Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * incremented patch version Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> * changed readme as well Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> --------- Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com> Co-authored-by: David Petrov <david.petrov@limechain.tech> Co-authored-by: Yordan Atanasov <99724706+Zurcusa@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.