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

Pattern dominance should be adjusted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 21
    • 21
    • tools
    • None
    • b27

    Backports

      Description

        As a recent change, the specification for pattern dominance in the switch statement needs to be updated, so that guarded patterns do not dominate constants case labels.

        Attachments

          Issue Links

            Activity

              People

                jlahoda Jan Lahoda
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: