- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FakeCipherSuite_instancesAreInterned (0.15 sec)
-
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
*/ @Test fun instancesAreInterned_survivesGarbageCollection() { // We're not holding onto a reference to this String instance outside of the CipherSuite... val cs = forJavaName("FakeCipherSuite_instancesAreInterned") System.gc() // Unless cs references the String instance, it may now be garbage collected. assertThat(forJavaName(java.lang.String(cs.javaName) as String)) .isSameAs(cs) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0)