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

Reply via email to