Uploaded image for project: 'Polygene'
  1. Polygene
  2. POLYGENE-193

Fail when composite type has interface static method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
      None

      Description

      UsageGraph resolution fail:

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

      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.

        Attachments

          Activity

            People

            • Assignee:
              eskatos Paul Merlin
              Reporter:
              eskatos Paul Merlin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: