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

Method reference overload kind causing assertion error in javac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • 12
    • 11, 12
    • tools

    Description

      The attached code sample causes an assertion error in javac starting with jdk 11

      return Optional.of(BigInteger.valueOf(2L)).or(() -> one.map(i::subtract));


      Attachments

        Issue Links

          Activity

            People

              vromero Vicente Arturo Romero Zaldivar
              mtrudeau Michel Trudeau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: