JDK-8062401 : User accessors require boxing and do not support optimistic types
Type:Sub-task
Component:core-libs
Sub-Component:jdk.nashorn
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2014-10-29
Updated:2015-08-26
Resolved:2014-10-30
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.
Currently, UserAccessorProperty only deals with object values. Also, optimistic typing is currently not supported with user accessors.
Comments
Added noreg-perf label, performance gain can be verified by running octane box2d or (better) examples/getter-setter-micro.js that is part of the commit.