enum: switch on enum should use switch instructions, not chained if stmts

XMLWordPrintable

    • b56
    • generic
    • solaris_8

      The code generated by javac for a switch statement on an enum type should
      generate a switch instruction, not a chain of if-then-else statements.

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: