https://issues.apache.org/bugzilla/show_bug.cgi?id=51035

--- Comment #3 from Kurt Miller <[email protected]> 2011-04-08 
07:22:58 EDT ---
(In reply to comment #2)
> OK, usually when the class is not found things are handled differently.
> 
> The only way the class can be null is if findClass throws a SecurityException.
> I'm not sure whether throwing an exception (like we do when the class
> can not be found at all) or returning false would be the better fix.

I agree that we're hitting the SecurityException case. What I don't understand
is why that is the case, because the class exists and <available\> test with
ignoresystemclasses="true" returns true. Shouldn't hasmethod behave similar to
<available\>, such that it can detect if the method exists or not with
ignoresystemclasses="true". Is there a way to work-around the SecurityException
so it can inspect for the method when ignoresystemclasses="true"?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to