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

Support Java 8 default methods on interfaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 3.0.0
    • None

    Description

      The following composite declaration:

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

      fails at assembly with:

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

      See InterfaceDefaultMethodsTest in core/runtime

      Also see POLYGENE-120 for some preliminary investigation.

      Attachments

        Issue Links

          Activity

            People

              niclas Niclas Hedhman
              eskatos Paul Merlin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: