Sorry, another case in our code :sweat_smile: ```i...
# k2-adopters
d
Sorry, another case in our code 😅
Copy code
import sun.security.x509.X509CertImpl
import sun.security.x509.X509CertInfo
...
val info = X509CertInfo().apply {
   set(X509CertInfo.VALIDITY, interval)
   ...
}

return X509CertImpl(info)
K1 works K2 throws compilation errors:
Copy code
Unresolved reference 'set'.
None of the following candidates is applicable:
constructor(p0: ByteArray!): X509CertImpl
constructor(p0: DerValue!): X509CertImpl
constructor(p0: InputStream!): X509CertImpl
d
Could you please provide more detailed sample? At least containing function/class with this code
d
Sent in DM 😅