[ https://issues.apache.org/jira/browse/CAMEL-12504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531215#comment-16531215 ]
Colm O hEigeartaigh commented on CAMEL-12504: --------------------------------------------- CustomSchemaFactoryFeatureTest is failing on Java 10. It looks like this test never worked as expected: String jdkVendor = System.getProperty("java.vm.vendor"); if (jdkVendor != null && (jdkVendor.indexOf("Oracle") > 0 || jdkVendor.indexOf("Sun") > 0)) { fail("Expect exception here"); } I think the intention here is to "fail" with the Oracle JDK if an exception is not thrown - but jdkVendor.indexOf("Oracle") returns 0 for Java 7/8, so the test never actually failed (no exception is thrown). It returns "1" for Java 10, as the Java vendor is now enclosed in quotation marks. > Test Apache Camel on Java 9 and newer > ------------------------------------- > > Key: CAMEL-12504 > URL: https://issues.apache.org/jira/browse/CAMEL-12504 > Project: Camel > Issue Type: Test > Components: build system > Reporter: Luca Burgazzoli > Priority: Major > Fix For: 2.23.0 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)