Sorry - forgot to run precommit :( - thanks Uwe! - Steve

> On Mar 20, 2016, at 7:20 PM, Uwe Schindler <[email protected]> wrote:
> 
> I fixed this by using the slf4j pattern, enforced by forbidden-apis + the ant 
> task "validate" ("-validate-source-patterns" regex).
> 
> Uwe
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: [email protected]
> 
> 
>> -----Original Message-----
>> From: Policeman Jenkins Server [mailto:[email protected]]
>> Sent: Monday, March 21, 2016 12:02 AM
>> To: [email protected]; [email protected]; [email protected];
>> [email protected]
>> Subject: [JENKINS-EA] Lucene-Solr-6.x-Linux (32bit/jdk-9-jigsaw-ea+110) -
>> Build # 192 - Failure!
>> Importance: Low
>> 
>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Linux/192/
>> Java: 32bit/jdk-9-jigsaw-ea+110 -server -XX:+UseG1GC -XX:-CompactStrings
>> 
>> All tests passed
>> 
>> Build Log:
>> [...truncated 37040 lines...]
>> -check-forbidden-all:
>> [forbidden-apis] Reading bundled API signatures: jdk-unsafe-1.8
>> [forbidden-apis] Reading bundled API signatures: jdk-deprecated-1.8
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.awt.Component#getPeer() [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.awt.Font#getPeer() [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.awt.MenuComponent#getPeer() [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.awt.Toolkit#getFontPeer(java.lang.String,int) [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.util.jar.Pack200$Packer#addPropertyChangeListener(java.beans.Proper
>> tyChangeListener) [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.util.jar.Pack200$Packer#removePropertyChangeListener(java.beans.Pro
>> pertyChangeListener) [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.util.jar.Pack200$Unpacker#addPropertyChangeListener(java.beans.Pro
>> pertyChangeListener) [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.util.jar.Pack200$Unpacker#removePropertyChangeListener(java.beans.
>> PropertyChangeListener) [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.util.logging.LogManager#addPropertyChangeListener(java.beans.Prope
>> rtyChangeListener) [signature ignored]
>> [forbidden-apis] WARNING: Method not found while parsing signature:
>> java.util.logging.LogManager#removePropertyChangeListener(java.beans.Pr
>> opertyChangeListener) [signature ignored]
>> [forbidden-apis] Reading bundled API signatures: commons-io-unsafe-2.4
>> [forbidden-apis] Reading API signatures: /home/jenkins/workspace/Lucene-
>> Solr-6.x-Linux/lucene/tools/forbiddenApis/base.txt
>> [forbidden-apis] Reading API signatures: /home/jenkins/workspace/Lucene-
>> Solr-6.x-Linux/lucene/tools/forbiddenApis/servlet-api.txt
>> [forbidden-apis] Reading API signatures: /home/jenkins/workspace/Lucene-
>> Solr-6.x-Linux/lucene/tools/forbiddenApis/solr.txt
>> [forbidden-apis] Loading classes to check...
>> [forbidden-apis] Scanning classes for violations...
>> [forbidden-apis] Forbidden class/interface use: java.util.logging.** [Use 
>> slf4j
>> classes instead]
>> [forbidden-apis]   in org.apache.solr.schema.DocValuesTest
>> (DocValuesTest.java, field declaration of 'log')
>> [forbidden-apis] Forbidden class/interface use: java.util.logging.** [Use 
>> slf4j
>> classes instead]
>> [forbidden-apis]   in org.apache.solr.schema.DocValuesTest
>> (DocValuesTest.java:40)
>> [forbidden-apis] Forbidden class/interface use: java.util.logging.** [Use 
>> slf4j
>> classes instead]
>> [forbidden-apis]   in org.apache.solr.schema.DocValuesTest
>> (DocValuesTest.java:467)
>> [forbidden-apis] Forbidden class/interface use: java.util.logging.** [Use 
>> slf4j
>> classes instead]
>> [forbidden-apis]   in org.apache.solr.schema.DocValuesTest
>> (DocValuesTest.java:525)
>> [forbidden-apis] Scanned 3109 (and 1968 related) class file(s) for forbidden
>> API invocations (in 1.92s), 4 error(s).
>> 
>> BUILD FAILED
>> /home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:740: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:117: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/build.xml:347: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/common-
>> build.xml:509: Check for forbidden API calls failed, see log.
>> 
>> Total time: 65 minutes 56 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Archiving artifacts
>> [WARNINGS] Skipping publisher since build result is FAILURE
>> Recording test results
>> 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]
> 


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

Reply via email to