diff --git a/platform/util/src/com/intellij/util/xmlb/PropertyAccessor.java b/platform/util/src/com/intellij/util/xmlb/PropertyAccessor.java index a9de8a924d59..ad7a962342f6 100644 --- a/platform/util/src/com/intellij/util/xmlb/PropertyAccessor.java +++ b/platform/util/src/com/intellij/util/xmlb/PropertyAccessor.java @@ -45,6 +45,13 @@ class PropertyAccessor implements Accessor { myReadMethod = readMethod; myWriteMethod = writeMethod; myGenericType = myReadMethod.getGenericReturnType(); + + try { + myReadMethod.setAccessible(true); + myWriteMethod.setAccessible(true); + } + catch (SecurityException ignored) { + } } @Override