lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (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 14:38:35 GMT

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

Dawid Weiss commented on LUCENE-4206:
-------------------------------------

{code}
+        public MethodVisitor visitMethod(int access, String name, String desc, String signature,
String[] exceptions) {
+          final Method m = new Method(name, desc);
{code}

Umm... you just stack all methods without considering their access flags?

                
> 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