lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4357) icu tools/ use forbidden apis
Date Wed, 05 Sep 2012 03:44:08 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Muir resolved LUCENE-4357.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   5.0
    
> 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
>             Fix For: 5.0, 4.0
>
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message