mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
be ready method can throw unchecked exceptions, e.g. PCE in highlighting - to fix EA-98206 - AUCRRAE: ReadMostlyRWLock.a
This commit is contained in:
@@ -61,6 +61,9 @@ class PropertyAccessor implements MutableAccessor {
|
||||
throw new XmlSerializationException(e);
|
||||
}
|
||||
catch (InvocationTargetException e) {
|
||||
Throwable exception = e.getTargetException();
|
||||
if (exception instanceof Error) throw (Error)exception;
|
||||
if (exception instanceof RuntimeException) throw (RuntimeException)exception;
|
||||
throw new XmlSerializationException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user