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

Doc build is broken by use of new language features

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 16
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      17
    • Resolved In Build:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: