fix the new Kotlin NPE exception in test (it's now normalized in 1.4)
authorEugene Petrenko <eugene.petrenko@jetbrains.com>
Wed, 16 Sep 2020 15:12:35 +0000 (17:12 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 18 Sep 2020 23:00:15 +0000 (23:00 +0000)
GitOrigin-RevId: ffe28dd702db6017404b283621bed351e00720c3

adt-ui/src/test/java/com/android/tools/adtui/TabularLayoutTest.java

index b4a6dcd8efce1b183ef6d0137649bcfad69b9ab5..e50a60f1f23262db49e89937364ab2eeb49a21d7 100644 (file)
@@ -46,6 +46,9 @@ public final class TabularLayoutTest {
     }
     catch (IllegalArgumentException ignored) {
     }
+    //handle Kotlin 1.4 behavior
+    catch (NullPointerException ignored) {
+    }
   }