groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <>
Subject [jira] [Commented] (GROOVY-8299) Generate bytecode for interface with default methods
Date Sat, 26 Aug 2017 09:34:00 GMT


Daniel Sun commented on GROOVY-8299:

JVM option "-Xverify:none" is required, or VerifyError will occur. We should fix the potential

java.lang.VerifyError: Expecting a stackmap frame at branch target 14
Exception Details:
    groovy/bugs/Groovy8299Bug.$getStaticMetaClass()Lgroovy/lang/MetaClass; @6: if_acmpeq
    Expected stackmap frame at this location.
    0x0000000: 2ab6 002e 1202 a500 082a b800 34b0 b200
    0x0000010: 364c 2bc7 000f 2ab6 002e b800 3c59 4cb3
    0x0000020: 0036 2bb6 003f b0                      

	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(
	at java.lang.Class.privateGetMethodRecursive(
	at java.lang.Class.getMethod0(
	at java.lang.Class.getMethod(
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(
	at org.junit.internal.requests.ClassRequest.getRunner(
	at org.junit.internal.requests.FilterRequest.getRunner(
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(
	at com.intellij.rt.execution.junit.JUnitStarter.main(


> Generate bytecode for interface with default methods
> ----------------------------------------------------
>                 Key: GROOVY-8299
>                 URL:
>             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

View raw message