mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 14:30:56 +03:00
Extras: FlatInspector: fixed InaccessibleObjectException when running in Java 16
This commit is contained in:
@@ -25,6 +25,7 @@ FlatLaf Change Log
|
|||||||
- Fixed missing focus indicators in heavy-weight popups. (issue #273)
|
- Fixed missing focus indicators in heavy-weight popups. (issue #273)
|
||||||
- InternalFrame: Fixed translucent internal frame menu bar background if
|
- InternalFrame: Fixed translucent internal frame menu bar background if
|
||||||
`TitlePane.unifiedBackground` is `true`. (issue #274)
|
`TitlePane.unifiedBackground` is `true`. (issue #274)
|
||||||
|
- Extras: UI Inspector: Fixed `InaccessibleObjectException` when running in Java 16.
|
||||||
|
|
||||||
|
|
||||||
## 1.1
|
## 1.1
|
||||||
|
|||||||
@@ -475,7 +475,7 @@ public class FlatInspector
|
|||||||
f.setAccessible( true );
|
f.setAccessible( true );
|
||||||
Object ui = f.get( c );
|
Object ui = f.get( c );
|
||||||
appendRow( buf, "UI", (ui != null ? ui.getClass().getName() : "null") );
|
appendRow( buf, "UI", (ui != null ? ui.getClass().getName() : "null") );
|
||||||
} catch( NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException ex ) {
|
} catch( Exception ex ) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user