Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
None
-
b115
Description
We still have a lot of load(exp).convert(type) style expressions in CodeGenerator. They generate unnecessary static conversion code, e.g.
invokedynamic dyn:call(Object;Object;String;)Object;
invokestatic JSType.toBoolean(Object;)Z
instead of the more natural
invokedynamic dyn:call(Object;Object;String;)Z
These remaining expressions should be changed to load(exp, type).
invokedynamic dyn:call(Object;Object;String;)Object;
invokestatic JSType.toBoolean(Object;)Z
instead of the more natural
invokedynamic dyn:call(Object;Object;String;)Z
These remaining expressions should be changed to load(exp, type).
Attachments
Issue Links
- relates to
-
JDK-8026137 Issues with Binary Evaluation Order
- Resolved
-
JDK-8027037 Make ScriptObjectMirror conversions work for any JSObject
- Resolved