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

Fail when composite type has interface static method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: