JDK-8033465 : JSR292: InvokerBytecodeGenerator: convert a check for REF_invokeVirtual on an interface into an assert
Type:Enhancement
Component:core-libs
Sub-Component:java.lang.invoke
Affected Version:9
Priority:P4
Status:Closed
Resolution:Fixed
Submitted:2014-02-03
Updated:2015-06-04
Resolved:2015-04-14
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.
After JDK-8029507 the fix for JDK-8031502 can be turned to an assert:
assert(!(member.getDeclaringClass().isInterface() && refKind == REF_invokeVirtual));