This is a sneaky java 7/8 difference: java 8 is able to infer this
variable is "effectively" final, but java 7 isn't...

Mike McCandless

http://blog.mikemccandless.com


On Fri, Dec 19, 2014 at 10:21 AM, Policeman Jenkins Server
<[email protected]> wrote:
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/1959/
> Java: 64bit/jdk1.7.0 -XX:+UseCompressedOops -XX:+UseParallelGC (asserts: true)
>
> No tests ran.
>
> Build Log:
> [...truncated 291 lines...]
>     [javac] Compiling 424 source files to 
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/lucene/build/core/classes/test
>     [javac] 
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/lucene/core/src/test/org/apache/lucene/analysis/TestCachingTokenFilter.java:52:
>  error: local variable resetCount is accessed from within inner class; needs 
> to be declared final
>     [javac]         resetCount.incrementAndGet();
>     [javac]         ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 error
>
> BUILD FAILED
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/build.xml:529: The following 
> error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/build.xml:477: The following 
> error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/build.xml:61: The following 
> error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/extra-targets.xml:39: The 
> following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/lucene/build.xml:49: The 
> following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/lucene/common-build.xml:793: 
> The following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/lucene/common-build.xml:807: 
> The following error occurred while executing this line:
> /Users/jenkins/workspace/Lucene-Solr-5.x-MacOSX/lucene/common-build.xml:1875: 
> Compile failed; see the compiler error output for details.
>
> Total time: 41 seconds
> Build step 'Invoke Ant' marked build as failure
> [description-setter] Description set: Java: 64bit/jdk1.7.0 
> -XX:+UseCompressedOops -XX:+UseParallelGC (asserts: true)
> Archiving artifacts
> Recording test results
> ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to 
> exception
> hudson.AbortException: No test report files were found. Configuration error?
>         at 
> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:116)
>         at 
> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:92)
>         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:121)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:49)
>         at hudson.remoting.Request$2.run(Request.java:324)
>         at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
>         at ......remote call to MacOSX VBOX(Native Method)
>         at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
>         at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
>         at hudson.remoting.Channel.call(Channel.java:752)
>         at hudson.FilePath.act(FilePath.java:970)
>         at hudson.FilePath.act(FilePath.java:959)
>         at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:89)
>         at 
> hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:120)
>         at 
> hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:137)
>         at 
> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
>         at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>         at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
>         at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
>         at hudson.model.Build$BuildExecution.post2(Build.java:183)
>         at 
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
>         at hudson.model.Run.execute(Run.java:1784)
>         at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>         at hudson.model.ResourceController.execute(ResourceController.java:89)
>         at hudson.model.Executor.run(Executor.java:240)
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to