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

Doc build is broken by use of new language features

XMLWordPrintable

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

        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?

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

                Created:
                Updated:
                Resolved: