![]() The change will not apply to lateinit null checks and explicit library calls such as checkNotNull or requireNotNull. It will apply to the !! operator, parameter full checks in the method preamble, the as operator with a non-null type, and platform-typed expression null checks. The change is designed to open up more possibilities for null check optimizations by the Kotlin compiler or bytecode processing tools such as the Android R8 optimizer. Starting with the Kotlin 1.4 release, all runtime checks will throw a instead of a KotlinNullPointerException, IllegalStateException, IllegalArgumentException, and TypeCastException. Kotlin 1.4, a planned upgrade to the statically typed JVM language created by JetBrains, is set to add null-check optimizations. ![]() ![]() The Kotlin Foundation also released Kotlin 1.3.50, which focuses on APIs and NPM dependencies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |