inheritance of C/C++ Addons doesn't workΒ #9288
Copy link
Copy link
Closed
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
Activity
- addedaddonsIssues and PRs related to native addons.Issues and PRs related to native addons.
on Oct 26, 2016 - addedv8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
on Oct 26, 2016 This was fixed in V8 5.2 in commit v8/v8@73ee7943 but it also depends on commit v8/v8@306c412c which is arguably an ABI change and therefore not eligible for back-porting. I'll open a pull request for further discussion.
- added a commit that references this issue
on Nov 22, 2016 - added 2 commits that reference this issue
on Dec 20, 2016 @bnoordhuis Do you know, which node v6 version will fix this issue?
Fixed in 1d631ce...2ebceed, will be in the next v6.x release.
Metadata
Metadata
Assignees
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
There is an issue with the inheritance of native node addons in Node v6.9.1.
The problem doesn't exist with Node v4.6.1 or Node v7.0.0.
To reconstruct, i used the example code of Node docs (https://nodejs.org/dist/latest-v6.x/docs/api/addons.html#addons_wrapping_c_objects) and ran the code with this example:
Result is:
The problem is, that the this is empty after super() call.