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

Doc build is broken by use of new language features

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 16
    • 17
    • infrastructure
    • 17
    • b32

    Backports

      Description

        src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java:161: error: pattern matching in instanceof is a preview feature and is disabled by default.
                  if (delegate instanceof ExecutorService service) {


        I assume javadoc is compiling the file and has not had preview features enabled. Perhaps a build change is needed here?

        Attachments

          Issue Links

            Activity

              People

                erikj Erik Joelsson
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: