Introscope - Illegal reflective access by org.garret.perst.impl.sun14.Sun14ReflectionProvider
search cancel

Introscope - Illegal reflective access by org.garret.perst.impl.sun14.Sun14ReflectionProvider

book

Article ID: 445974

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

You observe the following warning messages in your Introscope Enterprise Manager (EM) logs:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.garret.perst.impl.sun14.Sun14ReflectionProvider (file:####/com.wily.perst_####.jar) to field java.io.ObjectStreamClass$FieldReflector.unsafe
WARNING: Please consider reporting this to the maintainers of org.garret.perst.impl.sun14.Sun14ReflectionProvider
WARNING: All illegal access operations will be denied in a future release

Environment

  • Introscope Enterprise Manager 10.8.0.220
  • Java 11 Runtime (OpenJDK or Adoptium)

Cause

The internal database driver used by the Enterprise Manager (com.wily.perst) uses a programming technique called reflection to access internal Java components. This is a standard characteristic of Java 11; while the runtime flags this as an "illegal access," it still permits the operation to proceed. This warning is intended for software developers to prepare for future Java releases where such access might be blocked.

Resolution

You do not need to take any corrective action. These warnings are expected when you run this version of Introscope on a Java 11 runtime. There is no impact on metric collection, data storage, or Enterprise Manager performance. You can safely ignore these warnings as the Enterprise Manager continues to function normally.