You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the loadObjectInstance(MethodCreator, Object param, Map<Object, ResultHandle>, Class<?> expectedType) method looks for a substitution based on the param.getClass() type. It should also check for a substitution based on the expectedType since that is often what is known. For example, in the jwt fraction, RSAPublicKey interface instances are used for signing, and the underlying implementation can change based on the installed security providers. I have registered a substition for RSAPublicKey since there is no public constructor, but this is not seen as the param type in my jdk is sun.security.rsa.RSAPublicKeyImpl.
The text was updated successfully, but these errors were encountered:
Currently the loadObjectInstance(MethodCreator, Object param, Map<Object, ResultHandle>, Class<?> expectedType) method looks for a substitution based on the param.getClass() type. It should also check for a substitution based on the expectedType since that is often what is known. For example, in the jwt fraction, RSAPublicKey interface instances are used for signing, and the underlying implementation can change based on the installed security providers. I have registered a substition for RSAPublicKey since there is no public constructor, but this is not seen as the param type in my jdk is sun.security.rsa.RSAPublicKeyImpl.
The text was updated successfully, but these errors were encountered: