You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Paul Merlin (JIRA)" <ji...@apache.org> on 2017/05/13 15:27:04 UTC

[jira] [Created] (POLYGENE-251) Support Java 8 default methods on interfaces

Paul Merlin created POLYGENE-251:
------------------------------------

             Summary: Support Java 8 default methods on interfaces
                 Key: POLYGENE-251
                 URL: https://issues.apache.org/jira/browse/POLYGENE-251
             Project: Polygene
          Issue Type: Bug
            Reporter: Paul Merlin
            Priority: Blocker
             Fix For: 3.0


The following composite declaration:

{code}
public interface DefaultMethods
{
    default String sayHello( String name )
    {
        return "Hello, " + name + '!';
    }
}
{code}

fails at assembly with:

{code}
Composition Problems Report:
    message: No implementation found for method 
    method: String sayHello(String name)
{code}

See {{InterfaceDefaultMethodsTest}} in {{core/runtime}}

Also see POLYGENE-120 for some preliminary investigation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Re: [jira] [Created] (POLYGENE-251) Support Java 8 default methods on interfaces

Posted by Paul Merlin <pa...@apache.org>.
Niclas Hedhman a écrit :
> There was already another ticket on this, and I fixed that today. It hasn't
> been committed back yet as I got a merge conflict and some failing test
> after rebase... Fix that tomorrow morning.

Alright. I took you resolving the "Figure out ..." issue while there was
nothing new on `develop` as "Niclas did figure out", hence me opening
another issue for actually fixing the code :)

Cool.

> On May 13, 2017 23:27, "Paul Merlin (JIRA)" <ji...@apache.org> wrote:
>
>> Paul Merlin created POLYGENE-251:
>> ------------------------------------
>>
>>              Summary: Support Java 8 default methods on interfaces
>>                  Key: POLYGENE-251
>>                  URL: https://issues.apache.org/jira/browse/POLYGENE-251
>>              Project: Polygene
>>           Issue Type: Bug
>>             Reporter: Paul Merlin
>>             Priority: Blocker
>>              Fix For: 3.0
>>
>>
>> The following composite declaration:
>>
>> {code}
>> public interface DefaultMethods
>> {
>>     default String sayHello( String name )
>>     {
>>         return "Hello, " + name + '!';
>>     }
>> }
>> {code}
>>
>> fails at assembly with:
>>
>> {code}
>> Composition Problems Report:
>>     message: No implementation found for method
>>     method: String sayHello(String name)
>> {code}
>>
>> See {{InterfaceDefaultMethodsTest}} in {{core/runtime}}
>>
>> Also see POLYGENE-120 for some preliminary investigation.
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.3.15#6346)
>>
>

Re: [jira] [Created] (POLYGENE-251) Support Java 8 default methods on interfaces

Posted by Niclas Hedhman <he...@gmail.com>.
There was already another ticket on this, and I fixed that today. It hasn't
been committed back yet as I got a merge conflict and some failing test
after rebase... Fix that tomorrow morning.

On May 13, 2017 23:27, "Paul Merlin (JIRA)" <ji...@apache.org> wrote:

> Paul Merlin created POLYGENE-251:
> ------------------------------------
>
>              Summary: Support Java 8 default methods on interfaces
>                  Key: POLYGENE-251
>                  URL: https://issues.apache.org/jira/browse/POLYGENE-251
>              Project: Polygene
>           Issue Type: Bug
>             Reporter: Paul Merlin
>             Priority: Blocker
>              Fix For: 3.0
>
>
> The following composite declaration:
>
> {code}
> public interface DefaultMethods
> {
>     default String sayHello( String name )
>     {
>         return "Hello, " + name + '!';
>     }
> }
> {code}
>
> fails at assembly with:
>
> {code}
> Composition Problems Report:
>     message: No implementation found for method
>     method: String sayHello(String name)
> {code}
>
> See {{InterfaceDefaultMethodsTest}} in {{core/runtime}}
>
> Also see POLYGENE-120 for some preliminary investigation.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.15#6346)
>