Fixing

JENKINS-16777
ArrayIndexOutOfBoundsException when trying to publish the Jacoco report
Fixing
JENKINS-16837: Don't change build status
Merge branch 'master' of github.com:jenkinsci/jacoco-plugin
[maven-release-plugin] prepare release jacoco-1.0.11
[maven-release-plugin] prepare for next development iteration
pointless override
[FIXED JENKINS-16935] Give the default no-name package a non-empty name.

The empty name breaks the display and hyperlinks.
1.94 properly handles <pluginFirstClassLoader> in "hpi:run"

Otherwise we'll pick up wrong asm, resulting in the fllowing exception:

FATAL: class org.jacoco.core.internal.flow.ClassProbesVisitor has interface org.objectweb.asm.ClassVisitor as super class
java.lang.IncompatibleClassChangeError: class org.jacoco.core.internal.flow.ClassProbesVisitor has interface org.objectweb.asm.ClassVisitor as super class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:114)
	at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:146)
	at hudson.plugins.jacoco.JacocoBuildAction.getJacocoReports(JacocoBuildAction.java:249)
	at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:333)
	at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:314)
	at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:375)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645)
	at hudson.model.Build$RunnerImpl.post2(Build.java:161)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614)
	at hudson.model.Run.run(Run.java:1400)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:175)
[FIXED JENKINS-15538] added whole class coverage highlighting

The code is refactored a bit so that the same line-by-line annotation code can be used by multiple callers.

For the time being, the class coverage highlight is rendered along with the per-method break down, but one might prefer some tweak to this, such as using tabs.
[maven-release-plugin] prepare release jacoco-1.0.12
[maven-release-plugin] prepare for next development iteration
Merge pull request #1 from jenkinsci/master

Sync to latest