Scala Programming Language
  1. Scala Programming Language
  2. SI-7408

Test run/t4023 can fail because the ordering of elements returned by the reflection API is not specified

    Details

      Description

      The test's check file basically depends on a specific ordering of the elements returned by getDeclaredClasses, which makes the test very fragile (and makes it fail on Avian).

      The solution is to sort the elements before checking/printing them.

        Activity

        Show
        Simon Ochsenreither added a comment - https://github.com/scala/scala/pull/2433
        Show
        Simon Ochsenreither added a comment - Merged in https://github.com/scala/scala/commit/78ef7b4305e93e1de812c98ab6d7984f68baed97 .

          People

          • Assignee:
            Simon Ochsenreither
            Reporter:
            Simon Ochsenreither
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development