You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/10/21 14:17:48 UTC

[camel-quarkus] 02/03: Remove DigitalSignatureConstants reflection registration

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

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

commit bdb7d1888bd1b56df819ab78028bcb0d08e94237
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Oct 21 13:17:20 2020 +0100

    Remove DigitalSignatureConstants reflection registration
    
    Fixes #1881
---
 .../quarkus/component/crypto/deployment/CryptoProcessor.java     | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/extensions/crypto/deployment/src/main/java/org/apache/camel/quarkus/component/crypto/deployment/CryptoProcessor.java b/extensions/crypto/deployment/src/main/java/org/apache/camel/quarkus/component/crypto/deployment/CryptoProcessor.java
index 25d08f3..60a3645 100644
--- a/extensions/crypto/deployment/src/main/java/org/apache/camel/quarkus/component/crypto/deployment/CryptoProcessor.java
+++ b/extensions/crypto/deployment/src/main/java/org/apache/camel/quarkus/component/crypto/deployment/CryptoProcessor.java
@@ -19,8 +19,6 @@ package org.apache.camel.quarkus.component.crypto.deployment;
 import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
-import org.apache.camel.component.crypto.DigitalSignatureConstants;
 
 class CryptoProcessor {
 
@@ -35,11 +33,4 @@ class CryptoProcessor {
     ExtensionSslNativeSupportBuildItem activeNativeSSLSupport() {
         return new ExtensionSslNativeSupportBuildItem(FEATURE);
     }
-
-    @BuildStep
-    ReflectiveClassBuildItem registerForReflection() {
-        // TODO: Remove this when upgrading to Camel >= 3.6.0
-        // https://github.com/apache/camel-quarkus/issues/1881
-        return new ReflectiveClassBuildItem(false, true, DigitalSignatureConstants.class);
-    }
 }