Forbidden-apis doesn’t like the String(byte[]) ctor in Overseer.java:316,
committed by Noble in r1624556 (‘ant precommit’ would have caught this):
311: byte[] data = ZkStateReader.toJSON(e.getValue());
[…]
316: log.info("going to create_collection {}", e.getKey(), new String(data));
-----
[mvn] [INFO] [forbiddenapis:check {execution: check-forbidden-apis}]
[mvn] [INFO] Scanning for classes to check...
[mvn] [INFO] Reading bundled API signatures: jdk-unsafe
[mvn] [INFO] Reading bundled API signatures: jdk-deprecated
[mvn] [INFO] Reading bundled API signatures: commons-io-unsafe-2.3
[mvn] [INFO] Reading API signatures:
/usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/lucene/tools/forbiddenApis/base.txt
[mvn] [INFO] Reading API signatures:
/usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/lucene/tools/forbiddenApis/servlet-api.txt
[mvn] [INFO] Loading classes to check...
[mvn] [INFO] Scanning for API signatures and dependencies...
[mvn] [ERROR] Forbidden method invocation: java.lang.String#<init>(byte[])
[Uses default charset]
[mvn] [ERROR] in org.apache.solr.cloud.Overseer$ClusterStateUpdater
(Overseer.java:316)
[mvn] [ERROR] Scanned 1588 (and 1353 related) class file(s) for forbidden API
invocations (in 0.66s), 1 error(s).
-----
On Sep 12, 2014, at 8:59 PM, Apache Jenkins Server <[email protected]>
wrote:
> Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/1206/
>
> All tests passed
>
> Build Log:
> [...truncated 47112 lines...]
> BUILD FAILED
> /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/build.xml:514:
> The following error occurred while executing this line:
> /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Maven-trunk/build.xml:198:
> The following error occurred while executing this line:
> : Java returned: 1
>
> Total time: 63 minutes 14 seconds
> Build step 'Invoke Ant' marked build as failure
> Recording test results
> Email was triggered for: Failure
> Sending email for trigger: Failure
>
>
>
> ---------------------------------------------------------------------
> 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]