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





--- Comment #5 from Mark Thomas <[EMAIL PROTECTED]>  2008-05-27 13:09:59 PST ---
It's amazing what a night's sleep does for you. The explanation is simple and
obvious - I should have seen it earlier.

o.a.c.connector.RequestFacade is public
o.a.c.core.ApplicationHttpRequest is not (ie package private)

There is no guarantee in the spec that the classes implementing any of the spec
classes, such as HttpServletRequest, will be public and therefore accessible
for the sort of manipulation via reflection that you are trying to do.

As I indicated earlier, to be sure of not seeing the error, you'll need to use
the appropriate spec class.

I appreciate that this makes generic reflection difficult. The users list is
usually pretty good at coming up with ways around issues like this. I suggest
you post a summary of what you are trying to achieve there and see what ideas
emerge.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to