[
https://issues.apache.org/jira/browse/GROOVY-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143032#comment-16143032
]
Daniel Sun commented on GROOVY-8299:
------------------------------------
If bytecode version > 1.6, IndyStaticTypesMultiTypeDispatcher will be used...
https://github.com/apache/groovy/blob/master/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesWriterController.java#L65-L67
But in the
org.codehaus.groovy.classgen.asm.sc.StaticCompilationTest#testArrayGet, we use
config.optimizationOptions.indy to check if indy enabled...
So when we set 1.8 as default bytecode version, some tests fails...
OMG...
> Generate bytecode for interface with default and static methods
> ---------------------------------------------------------------
>
> Key: GROOVY-8299
> URL: https://issues.apache.org/jira/browse/GROOVY-8299
> Project: Groovy
> Issue Type: Improvement
> Components: Compiler
> Affects Versions: 3.0.0-alpha-1, 2.6.0-alpha-1
> Reporter: Daniel Sun
> Assignee: Daniel Sun
>
> Currently the interface with default methods is based on the traits, we
> should provide real default methods introduced by Java8.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)