Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 188 (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    object PlatformVersion {
      val majorVersion: Int by lazy {
        when (val jvmSpecVersion = getJvmSpecVersion()) {
          "1.8" -> 8
          else -> jvmSpecVersion.toInt()
        }
      }
    
      fun getJvmSpecVersion(): String {
        return System.getProperty("java.specification.version", "unknown")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 917 bytes
    - Viewed (0)
Back to top