Agent can not be launched with the Java 9

Description

Starting the agent with Java 9 causes following error:

The problem seams to be the changed API of the ClassLoader class empty constructor. From Eclipse forum:

Using the empty constructor ClassLoader() is not equivalent to what we have today on Java 8 because it will use a parent of the ClassLoader.getSystemClassLoader() which is not the boot class loader. Instead we will have to resort to calling the new Java 9 static method: ClassLoader.getPlatformClassLoader()

As we are on JDK6 we'll need to use reflection here.

Environment

None

Status

Assignee

Ivan Senic

Reporter

Ivan Senic

Labels

None

Integrator

Marius Oehler

Sprint

None

Fix versions

Affects versions

Priority

Highest
Configure