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

[MultiLang #672] Java script stub generation issue fix after migrating to GraalVM RC14 #736

Merged
merged 5 commits into from
Apr 30, 2019

Conversation

maheshrajus
Copy link
Collaborator

<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:

  1. Implement the workaround described in Value.GetMemberKeys() does not include functions in class oracle/graal#678 (comment) (essentially write a javascript method that does the same as Value.GetMemberKeys(), and invoke that instead).
  2. Revert the above workaround as soon as Value.GetMemberKeys() does not include functions in class oracle/graal#678 has been fixed.

Build Report:
build

Stub Geneation:
stubGeneation

Java Client:
javaClient

JS Client:
appReport

@maheshrajus maheshrajus added importance/high Degree of importance, not urgency urgency/high Degree of urgency, not importance BeforeBarcelonaKubeCon Must be resolved before release (4/30) labels Apr 25, 2019
@maheshrajus maheshrajus added this to the RC7 milestone Apr 25, 2019
@maheshrajus maheshrajus self-assigned this Apr 25, 2019
@maheshrajus maheshrajus changed the title [MultiLang #672] Java script stub generation issue fix after migratingg to GraalVM RC14 [MultiLang #672] Java script stub generation issue fix after migrating to GraalVM RC14 Apr 25, 2019
@maheshrajus maheshrajus requested a review from AmitRoushan April 25, 2019 12:47
//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() {
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

Copy link
Collaborator

@quinton-hoole quinton-hoole Apr 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, fair enough.

Copy link
Collaborator Author

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
Copy link
Collaborator

@quinton-hoole quinton-hoole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BeforeBarcelonaKubeCon Must be resolved before release (4/30) importance/high Degree of importance, not urgency urgency/high Degree of urgency, not importance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants