Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236827

Lambda expression allows in Functional interface

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
        Java8Interface Java8Interface=
      ()->{System.out.println("interface default method"); return "sdfsdf";

      };

      abstract String getName() ;


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Interface allowing implementation as well. Using lambda


      ---------- BEGIN SOURCE ----------
        Java8Interface Java8Interface=
      ()->{System.out.println("interface default method"); return "sdfsdf";

      };

      abstract String getName() ;
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              tongwan Andrew Wang
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: