Analytics is throwing Java warnings after upgrading Java to OpenJDK11
search cancel

Analytics is throwing Java warnings after upgrading Java to OpenJDK11

book

Article ID: 235539

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Since upgrading Java to OpenJDK11, there are java warnings (systemd-logging), although the IA agent seems to work properly:

Feb 23 12:33:57  ucybsmgr[28540]: WARNING: An illegal reflective access operation has occurred
Feb 23 12:33:57  ucybsmgr[28540]: WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:...Domain)
Feb 23 12:33:57  ucybsmgr[28540]: WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.c...Utils$1
Feb 23 12:33:57  ucybsmgr[28540]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective acces...rations
Feb 23 12:33:57  ucybsmgr[28540]: WARNING: All illegal access operations will be denied in a future release


Can these warnings be suppressed or the issue somehow be fixed?

Environment

Release : 12.3.7

Component : ANALYTICS ON PREMISE

Cause

This all started with JDK9 and a change in the module for Relaxed-strong-encapsulation.

By default, beginning with JDK9, this is set to permit.

This permit mode ensures:

The first reflective-access operation to any such package causes a warning to be issued, but no warnings are issued after that point. This single warning describes how to enable further warnings

Resolution

Since Automic or dependent third-party libraries might contain code to access private members of classes via reflection, this leads to the JVM displaying the warnings.

This is not indicative of a problem and the warning messages have no impact on the functionality of Automic.

This warning cannot be suppressed.