-
Sub-task
-
Resolution: Fixed
-
P3
-
None
-
None
-
b84
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142290 | emb-9 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | team |
JDK-8141002 | 8u91 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8137177 | 8u72 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8147371 | emb-8u91 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
See the containing bug for the description (first part) of the problem.
Issue:
When script implements an interface with default methods, generated adapter class introduces delegating methods to call super type (i.e. interface ) methods. But, when indirectly inherited interface has such a default method, generated adapter wrongly delegates to super type of the super type. Invokespecial instruction calling such indirect super type's method is not valid. The fix is to use the immediate super types only for such delegating methods.
Issue:
When script implements an interface with default methods, generated adapter class introduces delegating methods to call super type (i.e. interface ) methods. But, when indirectly inherited interface has such a default method, generated adapter wrongly delegates to super type of the super type. Invokespecial instruction calling such indirect super type's method is not valid. The fix is to use the immediate super types only for such delegating methods.
- backported by
-
JDK-8137177 invokespecial on indirect super interface is generated by Java adapter generator
- Resolved
-
JDK-8141002 invokespecial on indirect super interface is generated by Java adapter generator
- Resolved
-
JDK-8142290 invokespecial on indirect super interface is generated by Java adapter generator
- Resolved
-
JDK-8147371 invokespecial on indirect super interface is generated by Java adapter generator
- Resolved
- relates to
-
JDK-8159034 4 nashorn ant tests fail with latest jdk9-dev build with IncompatibleClassChangeError
- Resolved