Doc build is broken by use of new language features

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 16
    • Affects Version/s: 17
    • Component/s: 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?

              Assignee:
              Erik Joelsson
              Reporter:
              David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: