mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix yet another test - new exception type is thrown for Kotlin-checked NPE
GitOrigin-RevId: ba1b4782df6b3627f5d337d14c6ac5915ba34b82
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7eb16ab8eb
commit
11c6134b4a
@@ -102,7 +102,7 @@ public final class PropertyAccessor implements MutableAccessor {
|
||||
catch (InvocationTargetException e) {
|
||||
Throwable cause = e.getCause();
|
||||
// see KotlinXmlSerializerTest.nullInMap
|
||||
if (cause instanceof IllegalArgumentException &&
|
||||
if (cause instanceof NullPointerException &&
|
||||
myGenericType instanceof Class &&
|
||||
((Class<?>)myGenericType).isEnum() &&
|
||||
cause.getMessage().contains("Parameter specified as non-null is null:")) {
|
||||
|
||||
Reference in New Issue
Block a user