Nick
02/01/2023, 6:30 PMLandry Norris
02/01/2023, 6:32 PMNick
02/01/2023, 6:33 PMIf you want to make use of optimizations available in newer versions of Java, you can explicitly specify the target Java version from 9 to 19.I see this from here, I wonder what optimizations there are?
Landry Norris
02/01/2023, 6:34 PMephemient
02/01/2023, 6:44 PMinline fun
from a library that was built with Java 11 bytecode in a project that targets Java 8Nick
02/01/2023, 7:08 PMjava.time
package?ephemient
02/01/2023, 7:09 PMjava.time
is missing various localization features as compared the real implementation, due to limitations of older SDKsNick
02/01/2023, 7:43 PMLandry Norris
02/01/2023, 7:44 PMNick
02/01/2023, 7:46 PMval hasher = MessageDigest.getInstance("SHA-256")
val hash = hasher.digest(data.toByteArray(Charsets.UTF_8))
return Base64.encodeToString(hash, Base64.NO_WRAP)
Landry Norris
02/01/2023, 7:46 PMephemient
02/01/2023, 7:56 PM