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

Improve enum traits

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • b05

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: