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

Update java.time to use instanceof pattern variable (part II)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • core-libs
    • b20

    Description

      The second part of issue https://bugs.openjdk.java.net/browse/JDK-8263668 to update the code in the `java.time` package to make use of the `instanceof` pattern variable.

      As the original PR spanned a large number of files, it was decided to split these changes across two separate issues.


      See https://openjdk.java.net/jeps/394 for further information on Pattern Matching for instanceof

      Attachments

        Issue Links

          Activity

            People

              pconcannon Patrick Concannon (Inactive)
              pconcannon Patrick Concannon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: