[ 
https://issues.apache.org/jira/browse/CAMEL-15403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Yue Fang resolved CAMEL-15403.
--------------------------------------
    Resolution: Fixed

> camel-xmlsecurity - Some unit tests fails with Oracle JDK8 261
> --------------------------------------------------------------
>
>                 Key: CAMEL-15403
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15403
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-xmlsecurity
>    Affects Versions: 3.4.2
>            Reporter: Freeman Yue Fang
>            Assignee: Freeman Yue Fang
>            Priority: Major
>             Fix For: 3.5.0, 3.4.3
>
>
> 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
> {code}
> if (TestSupport.getJavaMajorVersion() >= 9) {
>             includeNewLine = false;
>         }
> {code}
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to