Thanks Andriy! Colm.
On Tue, Jan 8, 2019 at 3:28 AM Andriy Redko <[email protected]> wrote: > Hi Colm, > > Indeed, checked the test cases and you are absolutely correct, some of > them were not doing the right thing. I have refactored those to use the > dedicated test scaffolding and assertions, should be all good now. Thanks a > lot! > > Best Regards, > Andriy Redko > > COh> Hi Andriy, > > > COh> I noticed the JAXRSRxJava2FlowableTest is not working properly with > JDK 11. With JDK 8 the exception is along the lines of: > > > COh> ComposedException 2 : > COh> java.lang.ClassCastException: javax.ws.rs.NotFoundException > cannot be cast to java.util.concurrent.ExecutionException > > > > COh> whereas with JDK 11 it's: > > > COh> ComposedException 2 : > COh> java.lang.ClassCastException: class javax.ws.rs.NotFoundException > cannot be cast to class > COh> java.util.concurrent.ExecutionException > (javax.ws.rs.NotFoundException is in unnamed module of loader 'app'; > COh> java.util.concurrent.ExecutionException is in module java.base of > loader 'bootstrap') > > > > COh> I guess we are not properly testing the expected exception with JDK11. > > > COh> Colm. > > > > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
