This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new af2c19c  CAMEL-12851: Fixed test
af2c19c is described below

commit af2c19c20d6410bc3852ce92ef74d5581f201fcf
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Jul 31 20:18:52 2019 +0200

    CAMEL-12851: Fixed test
---
 .../component/validator/CustomSchemaFactoryFeatureTest.java | 13 -------------
 1 file changed, 13 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
index 449437c..a324364 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/validator/CustomSchemaFactoryFeatureTest.java
@@ -40,19 +40,6 @@ public class CustomSchemaFactoryFeatureTest extends 
ContextTestSupport {
         ValidatorComponent v = new ValidatorComponent();
         v.setCamelContext(context);
         
v.createEndpoint("validator:org/apache/camel/component/validator/unsecuredSchema.xsd?schemaFactory=#MySchemaFactory");
-       
-        try {
-            
v.createEndpoint("validator:org/apache/camel/component/validator/unsecuredSchema.xsd");
-            // we should get an security exception in JDK 7 with Oracle or Sun 
JDK
-            String jdkVendor = System.getProperty("java.vm.vendor");
-            if (jdkVendor != null && (jdkVendor.indexOf("Oracle") > 0 || 
jdkVendor.indexOf("Sun") > 0)) {
-                fail("Expect exception here");
-            }
-        } catch (Exception ex) {
-            // do nothing here
-        }
     }
-    
-    
 
 }

Reply via email to