Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8048494 | 8u25 | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b05 |
JDK-8044652 | 8u20 | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b20 |
JDK-8052510 | emb-8u26 | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b18 |
As mentioned on https://avatar-js.java.net/ page, currently JDK8 with nashorn cannot execute express module due problems related to changing __proto__ to undefined. The fix on the library side is simple:
node_modules/ejs/lib/ejs.js line 286
- options.__proto__ = options.locals;
+ if (options.locals) options.__proto__ = options.locals;
yet we need to run existing node.js application without modification and as such I'd like to propose a fix on the Nashorn side as well.
node_modules/ejs/lib/ejs.js line 286
- options.__proto__ = options.locals;
+ if (options.locals) options.__proto__ = options.locals;
yet we need to run existing node.js application without modification and as such I'd like to propose a fix on the Nashorn side as well.
- backported by
-
JDK-8044652 Nashorn cannot execute node.js's express module
-
- Resolved
-
-
JDK-8048494 Nashorn cannot execute node.js's express module
-
- Resolved
-
-
JDK-8052510 Nashorn cannot execute node.js's express module
-
- Resolved
-