[
https://issues.apache.org/jira/browse/LUCENE-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4357:
--------------------------------
Attachment: LUCENE-4357.patch
Patch: also fixing validate to validate modules' tools directories.
> icu tools/ use forbidden apis
> -----------------------------
>
> Key: LUCENE-4357
> URL: https://issues.apache.org/jira/browse/LUCENE-4357
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-4357.patch
>
>
> I guess by default we dont validate stuff in modules' tools/
> but if you compile the ICU tools/ and then run validate:
> {noformat}
> -check-forbidden-jdk-apis:
> [forbidden-apis] Reading API signatures:
> /home/rmuir/workspace/lucene-trunk/lucene/tools/forbiddenApis/executors.txt
> [forbidden-apis] Reading API signatures:
> /home/rmuir/workspace/lucene-trunk/lucene/tools/forbiddenApis/jdk-deprecated.txt
> [forbidden-apis] Reading API signatures:
> /home/rmuir/workspace/lucene-trunk/lucene/tools/forbiddenApis/jdk.txt
> [forbidden-apis] Loading classes to check...
> [forbidden-apis] Scanning for API signatures and dependencies...
> [forbidden-apis] Forbidden method invocation:
> java.lang.String#format(java.lang.String,java.lang.Object[])
> [forbidden-apis] in org.apache.lucene.analysis.icu.GenerateUTR30DataFiles
> (GenerateUTR30DataFiles.java:255)
> [forbidden-apis] Forbidden method invocation:
> java.lang.String#format(java.lang.String,java.lang.Object[])
> [forbidden-apis] in org.apache.lucene.analysis.icu.GenerateUTR30DataFiles
> (GenerateUTR30DataFiles.java:256)
> [forbidden-apis] Forbidden method invocation:
> java.lang.String#format(java.lang.String,java.lang.Object[])
> [forbidden-apis] in org.apache.lucene.analysis.icu.GenerateUTR30DataFiles
> (GenerateUTR30DataFiles.java:261)
> [forbidden-apis] Forbidden method invocation:
> java.lang.String#format(java.lang.String,java.lang.Object[])
> [forbidden-apis] in org.apache.lucene.analysis.icu.GenerateUTR30DataFiles
> (GenerateUTR30DataFiles.java:263)
> [forbidden-apis] Scanned 5235 (and 423 related) class file(s) for forbidden
> API invocations (in 1.35s), 4 error(s).
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]