[jbosstools-issues] [JBoss JIRA] (JBIDE-26336) Upgrade jacoco version to 0.8.2+ to be compatible with Java 11

Aurélien Pupier (JIRA) issues at jboss.org
Wed Sep 5 05:56:00 EDT 2018


Aurélien Pupier created JBIDE-26336:
---------------------------------------

             Summary: Upgrade jacoco version to 0.8.2+ to be compatible with Java 11
                 Key: JBIDE-26336
                 URL: https://issues.jboss.org/browse/JBIDE-26336
             Project: Tools (JBoss Tools)
          Issue Type: Task
            Reporter: Aurélien Pupier


https://github.com/jacoco/jacoco/releases/tag/v0.8.2

for now for SAp Tooling, I got 

{noformat}
09:37:54 Exception in thread "main" java.lang.reflect.InvocationTargetException
09:37:54 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:37:54 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:37:54 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:37:54 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:37:54 	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
09:37:54 	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
09:37:54 Caused by: java.lang.RuntimeException: Class java/lang/UnknownError could not be instrumented.
09:37:54 	at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
09:37:54 	at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
09:37:54 	at org.jacoco.agent.rt.internal_c13123e.PreMain.createRuntime(PreMain.java:55)
09:37:54 	at org.jacoco.agent.rt.internal_c13123e.PreMain.premain(PreMain.java:47)
09:37:54 	... 6 more
09:37:54 Caused by: java.lang.NoSuchFieldException: $jacocoAccess
09:37:54 	at java.base/java.lang.Class.getField(Class.java:2000)
09:37:54 	at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
09:37:54 	... 9 more
09:37:54 FATAL ERROR in native method: processing of -javaagent failed
{noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list