polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Merlin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZEST-193) Fail when composite type has interface static method
Date Sun, 20 Nov 2016 15:02:58 GMT
Paul Merlin created ZEST-193:
--------------------------------

             Summary: Fail when composite type has interface static method
                 Key: ZEST-193
                 URL: https://issues.apache.org/jira/browse/ZEST-193
             Project: Zest
          Issue Type: Bug
            Reporter: Paul Merlin
            Assignee: Paul Merlin
             Fix For: 3.0


UsageGraph resolution fail:

{code}
Caused by: java.lang.NullPointerException
	at org.apache.zest.runtime.composite.MixinsModel$Uses.uses(MixinsModel.java:233)
{code}

One instance of the issue can be seen by running {{FunctionalListTest}} on a Java 9 vm. The
offender in this case is {{List.of(..)}} introduced in Java 9.

Interface static methods should be ignored when resolving the usage graph.
Like it's already done when building the composite.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message