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

Improve enum traits

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b05

      EnumIterationTraits contains some unused stuff. It could als be expanded to provide more common utilities. In particular, there are numerous static_casts that could be centralized under meaningful names in the traits class.

      Also, JDK-8257466 added range bound accessors to EnumRange, but neglected to account for an empty range.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: