Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2549

some configuration elements don't work correctly on IBM JDK

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.7.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      The ArqSecuredManagementInterfaceTest test fails on IBM JDK, because the security realm is not configured correctly. This is because we rely on the Enhanced* classes and method "overrides" (that are not real overrides) being picked up first. This doesn't work on IBM JDK, because Class.getMethods() return order is different than on OpenJDK. Relying on order of Class.getMethods() is wrong, the order is unspecified. We need to sort the return value ourselves, so that subclasses come first, before superclasses.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: