Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A052B18AE6 for ; Mon, 15 Jun 2015 20:12:01 +0000 (UTC) Received: (qmail 46093 invoked by uid 500); 15 Jun 2015 20:12:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46053 invoked by uid 500); 15 Jun 2015 20:12:01 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 45890 invoked by uid 99); 15 Jun 2015 20:12:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 20:12:01 +0000 Date: Mon, 15 Jun 2015 20:12:01 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13899) Jacoco instrumentation fails under jdk8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586596#comment-14586596 ] Hudson commented on HBASE-13899: -------------------------------- FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #982 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/982/]) HBASE-13899 Jacoco instrumentation fails under jdk8 (apurtell: rev 2631f70bf5868510e850242e8c1cfe12920cdff5) * pom.xml > 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: 2.0.0, 1.2.0 > Reporter: Sean Busbey > Assignee: Duo Zhang > Labels: coverage > Fix For: 2.0.0, 0.98.14, 1.2.0 > > Attachments: HBASE-13899.patch > > > 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)