jamesnetherton commented on issue #7933:
URL: https://github.com/apache/camel-quarkus/issues/7933#issuecomment-3480166313
Generated bytecode for the bean class constructor, does indeed reference
`DEREncodable`:
```
Method <init> : V
(
arg 1 = Ljava/util/function/Supplier;,
arg 2 = Ljava/util/function/Supplier;
) {
** label1
ALOAD 0
// Method descriptor: ()V
INVOKESPECIAL java/lang/Object#<init>
// Method descriptor: ()Ljava/lang/Thread;
INVOKESTATIC java/lang/Thread#currentThread
// Method descriptor: ()Ljava/lang/ClassLoader;
INVOKEVIRTUAL java/lang/Thread#getContextClassLoader
ASTORE 6
ALOAD 0
ALOAD 1
// Field descriptor: Ljava/util/function/Supplier;
PUTFIELD
org/apache/camel/quarkus/component/crypto/it/CryptoResource_ProducerMethod_myPrivateKey_XLzuwzauMhJm5t1YtPRFd22PPII_Bean#declaringProviderSupplier
ALOAD 0
ALOAD 2
// Field descriptor: Ljava/util/function/Supplier;
PUTFIELD
org/apache/camel/quarkus/component/crypto/it/CryptoResource_ProducerMethod_myPrivateKey_XLzuwzauMhJm5t1YtPRFd22PPII_Bean#injectProviderSupplier1
LDC (Integer) 7
ANEWARRAY java/lang/Object
ASTORE 3
LDC (Type) Ljava/io/Serializable;
ASTORE 4
ALOAD 3
ICONST_0
ALOAD 4
AASTORE
LDC (Type) Ljava/security/Key;
ASTORE 5
ALOAD 3
ICONST_1
ALOAD 5
AASTORE
LDC (String) "javax.security.auth.Destroyable"
ICONST_0
ALOAD 6
// Method descriptor:
(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
INVOKESTATIC java/lang/Class#forName
ASTORE 7
ALOAD 3
ICONST_2
ALOAD 7
AASTORE
LDC (Type) Ljava/security/PrivateKey;
ASTORE 8
ALOAD 3
ICONST_3
ALOAD 8
AASTORE
LDC (Type) Ljava/security/DEREncodable;
ASTORE 9
ALOAD 3
ICONST_4
ALOAD 9
AASTORE
LDC (Type) Ljava/lang/Object;
ASTORE 10
ALOAD 3
ICONST_5
ALOAD 10
AASTORE
LDC (Type) Ljava/security/AsymmetricKey;
ASTORE 11
ALOAD 3
LDC (Integer) 6
ALOAD 11
AASTORE
ALOAD 3
// Method descriptor: ([Ljava/lang/Object;)Ljava/util/Set;
INVOKESTATIC io/quarkus/arc/impl/Sets#of
ASTORE 12
ALOAD 0
ALOAD 12
// Field descriptor: Ljava/util/Set;
PUTFIELD
org/apache/camel/quarkus/component/crypto/it/CryptoResource_ProducerMethod_myPrivateKey_XLzuwzauMhJm5t1YtPRFd22PPII_Bean#types
ICONST_3
ANEWARRAY java/lang/Object
ASTORE 13
// Field descriptor: Ljakarta/enterprise/inject/Default$Literal;
GETSTATIC jakarta/enterprise/inject/Default$Literal#INSTANCE
ASTORE 14
ALOAD 13
ICONST_0
ALOAD 14
AASTORE
// Field descriptor: Ljakarta/enterprise/inject/Any$Literal;
GETSTATIC jakarta/enterprise/inject/Any$Literal#INSTANCE
ASTORE 15
ALOAD 13
ICONST_1
ALOAD 15
AASTORE
NEW jakarta/inject/Named_ArcAnnotationLiteral
DUP
LDC (String) "myPrivateKey"
// Method descriptor: (Ljava/lang/String;)V
INVOKESPECIAL jakarta/inject/Named_ArcAnnotationLiteral#<init>
ASTORE 16
ALOAD 13
ICONST_2
ALOAD 16
AASTORE
ALOAD 13
// Method descriptor: ([Ljava/lang/Object;)Ljava/util/Set;
INVOKESTATIC io/quarkus/arc/impl/Sets#of
ASTORE 17
ALOAD 0
ALOAD 17
// Field descriptor: Ljava/util/Set;
PUTFIELD
org/apache/camel/quarkus/component/crypto/it/CryptoResource_ProducerMethod_myPrivateKey_XLzuwzauMhJm5t1YtPRFd22PPII_Bean#qualifiers
RETURN
** label2
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]