Introduce ConcurrentModificationException typealias in stdlib/jvm
This is required to provide the corresponding expect exception in stdlib/common. Raise deprecation level for constructors declared in common but unsupported in JVM. #KT-26598
This commit is contained in:
@@ -22,6 +22,7 @@ class ExceptionTest {
|
||||
@Test fun nullPointerException() = testCreateException(::NullPointerException, ::NullPointerException)
|
||||
@Test fun classCastException() = testCreateException(::ClassCastException, ::ClassCastException)
|
||||
@Test fun noSuchElementException() = testCreateException(::NoSuchElementException, ::NoSuchElementException)
|
||||
@Test fun concurrentModificationException() = testCreateException(::ConcurrentModificationException, ::ConcurrentModificationException)
|
||||
@Test fun arithmeticException() = testCreateException(::ArithmeticException, ::ArithmeticException)
|
||||
|
||||
@Test fun noWhenBranchMatchedException() = testCreateException(::NoWhenBranchMatchedException, ::NoWhenBranchMatchedException, ::NoWhenBranchMatchedException, ::NoWhenBranchMatchedException)
|
||||
|
||||
Reference in New Issue
Block a user