-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b66
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085663 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
JDK-8087083 | 8u65 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8080497 | 8u60 | Attila Szegedi | P4 | Resolved | Fixed | b18 |
JDK-8138489 | emb-8u65 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8086236 | emb-8u60 | Attila Szegedi | P4 | Resolved | Fixed | team |
Currently, NashornLinker will create a conditional ScriptObjectMirror converter for _any_ source type if the target type is something that a ScriptObjectMirror can be, e.g. Map. However, it'll do it even if the source type can never be a ScriptObject (e.g. java.lang.Double). This causes more matches in the "canConvert" too, which allows more candidates for overload resolution to pass.
This has no significant effect, except for making more work for overload resolution, as well as causing a bunch of bogus converters to exist for (most notably) anything-to-Map.
This has no significant effect, except for making more work for overload resolution, as well as causing a bunch of bogus converters to exist for (most notably) anything-to-Map.
- backported by
-
JDK-8080497 Don't create impossible converters for ScriptObjectMirror
-
- Resolved
-
-
JDK-8085663 Don't create impossible converters for ScriptObjectMirror
-
- Resolved
-
-
JDK-8086236 Don't create impossible converters for ScriptObjectMirror
-
- Resolved
-
-
JDK-8087083 Don't create impossible converters for ScriptObjectMirror
-
- Resolved
-
-
JDK-8138489 Don't create impossible converters for ScriptObjectMirror
-
- Resolved
-