Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15403

camel-xmlsecurity - Some unit tests fails with Oracle JDK8 261

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.2
    • 3.5.0, 3.4.4
    • camel-xmlsecurity
    • None
    • Unknown

    Description

      It's caused by a newline "\n" isn't expected in the test payload for JDK 1.8_261.

      I noticed that we've already had code like

      if (TestSupport.getJavaMajorVersion() >= 9) {
                  includeNewLine = false;
              }
      

      to determine need this newline or not. And I believe the lastest JDK8(Oracle JDK8 261) surely take the same logic as JDK9+ now.
      We need also check the 1.8 minor version

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: