lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4206) Allow check-forbidden-apis to also investigate calls to subclasses of forbidden APIs
Date Tue, 10 Jul 2012 15:14:35 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410421#comment-13410421
] 

Uwe Schindler commented on LUCENE-4206:
---------------------------------------

And your copypaste of the code is not referring to the actual recursion code, this one only
collects all methods/fields - and that *must* visit all methods, otherwise it would not work
- it is a unchanged replacement for the ineffective code of the original "ClassNode extends
ClassVisitor" of ASM 4.0. Maybe you shoud apply the patch first :-)
                
> Allow check-forbidden-apis to also investigate calls to subclasses of forbidden APIs
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4206
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4206
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 4.0
>
>         Attachments: LUCENE-4206.patch
>
>
> Followup for LUCENE-4202: I think I found a solution, that only adds overhead of parsing
all classes in FileSet 2 times (instead of one time) and dynamic investigation of system classes
from classloader on demand.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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