-
Notifications
You must be signed in to change notification settings - Fork 12
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
[MultiLang #672] Java script stub generation issue fix after migrating to GraalVM RC14 #736
Conversation
…g to GraalVM RC14
examples/kvstorejs/src/main/js/amino/run/appdemo/KeyValueStore.js
Outdated
Show resolved
Hide resolved
examples/kvstorejs/src/main/js/amino/run/appdemo/KeyValueStore.js
Outdated
Show resolved
Hide resolved
examples/kvstorejs/src/main/js/amino/run/appdemo/KeyValueStoreClient.js
Outdated
Show resolved
Hide resolved
…ue fix after migrating to GraalVM RC14
examples/kvstorejs/src/main/js/amino/run/appdemo/KeyValueStore.js
Outdated
Show resolved
Hide resolved
…ue fix after migrating to GraalVM RC14
…ue fix after migrating to GraalVM RC14
8c81aa6
to
ddc4523
Compare
//TODO: This is workaround for the issue: https://github.com/oracle/graal/issues/678. | ||
//This will be deleted once the above issue is fixed. | ||
//It will return all functions and instance variables in this class except constructor. | ||
getMemberKeys() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a cut 'n paste of Student.getMemberKeys(). The only difference is the type of obj.
Please rather create a library function that takes obj as a parameter, and have them all call that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@quinton-hoole : As per your comment, The common code we can put as Util function and call it and get the output by passing the object.
It involves some complexity as per my analysis. There is no direct way to import the Util.js file into Student.js/KeyValueStore.js files as these are plain JS files.
Currently, we are exploring it and we can handle it in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, fair enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sure.. I will open one issue for this.
…ation issue fix after migrating to GraalVM RC14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
<This is subtask for issue #658>
Upgrade from RC5 to RC14 was successful except one - kvstorejs.
Please refer to the below comment for detail.
(Related merged PR #664)
As per quinton's suggestion:
Build Report:
Stub Geneation:
Java Client:
JS Client: