JavaAgent on Java 9

Viewed 1370

Prior to java 9, the monitoring JavaAgent were loaded into the JVM by boostrapClassloader so that the monitored applications could access them

With Java 9 modular architecture, only java.base module gets loaded in Bootstrap classloader and so, Java agent can access only classes inside java.base? It can't access anything outside java.base by default?

What is required to be changed inside javaAgent in order to access other modules like java.sql?

2 Answers
Related