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

Desugaring of pattern matching enum switch should be improved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 17
    • 17
    • tools
    • None
    • b31

        Currently, the pattern matching switches over enums desugaring is based on the standard switch enum implementation, but the generated code is not very good, and the javac code that implements the desugaring can be difficult to maintain. Would be better to use the indy bootstrap for pattern matching switches over enums.

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

                Created:
                Updated:
                Resolved: