mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ability to serialize internal classes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user