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

javax_swing.RowFilter.ComparisonType.values() method behaviour is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 6
    • core-libs
    • generic
    • windows_xp

    Description

      In spec there is written:

      Enum Constant Summary
      *AFTER*
                Indicates that entries with a value after the supplied value should be included.
      *BEFORE*
                Indicates that entries with a value before the supplied value should be included.
      EQUAL
                Indicates that entries with a value equal to the supplied value should be included.
      NOT_EQUAL
                Indicates that entries with a value not equal to the supplied value should be included.

      public static final RowFilter.ComparisonType[] values()
          Returns an array containing the constants of this enum type, *in the order they're declared.*

      But values are returned in the following order:
      *BEFORE*
      *AFTER*
      EQUAL
      NOT_EQUAL

      Attachments

        Issue Links

          Activity

            People

              sseligmasunw Scott Seligman (Inactive)
              ynovozhi Yulia Novozhilova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: