Details
-
Fix
-
Status: Open (View Workflow)
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Current Situation
- The JOC Cockpit makes use of reflection to inspect H2 classes when logging.
- When used with the H2 DBMS the behavior raises warnings as annotations restrict access by reflection.
Desired Behavior
- No warnings are raised when using the H2 DBMS.
Workaround
- Apply the following compatibility setting:
- open the $HOME/.jocrc file
- add the JAVA_OPTIONS environment variable using the value
--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED