Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2725

Backport : ContainerItemComponentResourceTest assumes incorrectly that ParametersInfoProcessor returns properties in specific order

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.09
    • None
    • None

    Description

      this could had never been assumed in the first place Class#getMethods does not return methods in a specific order. I happened to be so in java 6 but in java 7 it has become completely random : Sometimes unit tests pass, sometimes they fail

      • Returns an array containing {@code Method}

        objects reflecting all

      • the public <em>member</em> methods of the class or interface represented
      • by this {@code Class} object, including those declared by the class
        * or interface and those inherited from superclasses and
        * superinterfaces. Array classes return all the (public) member methods
        * inherited from the {@code Object} class. The elements in the array
        * returned are not sorted and are not in any particular order. This
        * method returns an array of length 0 if this {@code Class}

        object

      • represents a class or interface that has no public member methods, or if
      • this {@code Class}

        object represents a primitive type or void.

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: