hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13899) Jacoco instrumentation fails under jdk8
Date Sun, 14 Jun 2015 02:09:01 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584918#comment-14584918
] 

Sean Busbey commented on HBASE-13899:
-------------------------------------

The current jenkins job (it'll move once the build changes name):

https://builds.apache.org/job/HBase-Trunk%20matrix/1/jdk=latest1.8,label=Hadoop/

> Jacoco instrumentation fails under jdk8
> ---------------------------------------
>
>                 Key: HBASE-13899
>                 URL: https://issues.apache.org/jira/browse/HBASE-13899
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, test
>    Affects Versions: 1.2.0
>            Reporter: Sean Busbey
>              Labels: coverage
>             Fix For: 2.0.0, 1.2.0
>
>
> Moving the post-commit build for master to also cover jdk8 shows failures when attempting
to instrument test for jacoco coverage.
> example: 
> {code}
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:483)
> 	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
> 	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
> 	at org.jacoco.agent.rt.internal_5d10cad.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
> 	at org.jacoco.agent.rt.internal_5d10cad.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
> 	at org.jacoco.agent.rt.internal_5d10cad.PreMain.createRuntime(PreMain.java:51)
> 	at org.jacoco.agent.rt.internal_5d10cad.PreMain.premain(PreMain.java:43)
> 	... 6 more
> Caused by: java.lang.NoSuchFieldException: $jacocoAccess
> 	at java.lang.Class.getField(Class.java:1695)
> 	at org.jacoco.agent.rt.internal_5d10cad.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
> 	... 9 more
> FATAL ERROR in native method: processing of -javaagent failed
> Aborted
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message