You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/03/30 13:31:32 UTC

[GitHub] [servicecomb-pack] coolbeevip opened a new pull request #715: [SCB-2248] Update jacoco version to 0.8.6 supports Java 11

coolbeevip opened a new pull request #715:
URL: https://github.com/apache/servicecomb-pack/pull/715


   Jacoco 0.7.x does not support Java 11 https://github.com/jacoco/jacoco/issues/551
   
   Gitlab Actions master push build fails
   
   ```
   Exception in thread "main" java.lang.reflect.InvocationTargetException
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
   	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
   Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
   	at org.jacoco.agent.rt.internal_e5875b2.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
   	at org.jacoco.agent.rt.internal_e5875b2.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
   	at org.jacoco.agent.rt.internal_e5875b2.PreMain.createRuntime(PreMain.java:55)
   	at org.jacoco.agent.rt.internal_e5875b2.PreMain.premain(PreMain.java:47)
   	... 6 more
   Caused by: java.lang.NoSuchFieldException: $jacocoAccess
   	at java.base/java.lang.Class.getField(Class.java:1999)
   	at org.jacoco.agent.rt.internal_e5875b2.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
   	... 9 more
   *** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at ./src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422
   FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed
   Aborted (core dumped)
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-pack] WillemJiang merged pull request #715: [SCB-2248] Update jacoco version to 0.8.6 supports Java 11

Posted by GitBox <gi...@apache.org>.
WillemJiang merged pull request #715:
URL: https://github.com/apache/servicecomb-pack/pull/715


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org