JDK-8133119 : Error message associated with TypeError for call and new should include stringified Node
Type:Bug
Component:core-libs
Sub-Component:jdk.nashorn
Affected Version:9
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2015-08-06
Updated:2016-01-14
Resolved:2015-08-06
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Error message associated with TypeError can be improved by including stringified call (IR) Node. Example:
var obj = {}
obj.func()
-> TypeError: obj.foo is not a function
arr = [33]
arr[0].obj.func()
-> TypeError: arr[0].func is not a function