Hello,

I may have found a bug derived from 2.18

Before 2.18, i can specified an header like:

<setHeader headerName="myHeader">
 <javaScript>[{"firstField": "firstValue",
"secondField":"secondValue"}]</javaScript>
</setHeader>

In my bean, *myHeader* will be cast to
*ArrayList<HashMap&lt;String,Object>>*

After 2.18 upgrade i had an error

*'java.lang.ClassCastException: jdk.nashorn.api.scripting.ScriptObjectMirror
cannot be cast to java.util.List'*

Can you help me? Is it a camel bug or an jdk8 issue?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Getting-ready-for-Apache-Camel-2-18-Release-tp5786942p5788108.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to