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

Method reference overload kind causing assertion error in javac

XMLWordPrintable

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

      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));


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

              Created:
              Updated:
              Resolved: