Hey Colm,
I haven't seen them failing on Jenkins, strangely, but I will take a look
tonight for sure, thanks a lot for noticing that!
Best Regards,
Andriy Redko
On Mon, Jan 7, 2019, 12:25 PM Colm O hEigeartaigh <[email protected]
wrote:
> Hi Andriy,
>
> I noticed the JAXRSRxJava2FlowableTest is not working properly with JDK
> 11. With JDK 8 the exception is along the lines of:
>
> ComposedException 2 :
> java.lang.ClassCastException: javax.ws.rs.NotFoundException cannot be
> cast to java.util.concurrent.ExecutionException
>
> whereas with JDK 11 it's:
>
> ComposedException 2 :
> java.lang.ClassCastException: class javax.ws.rs.NotFoundException
> cannot be cast to class java.util.concurrent.ExecutionException
> (javax.ws.rs.NotFoundException is in unnamed module of loader 'app';
> java.util.concurrent.ExecutionException is in module java.base of loader
> 'bootstrap')
>
> I guess we are not properly testing the expected exception with JDK11.
>
> Colm.
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>