commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester package.html
Date Sun, 22 Sep 2002 21:52:50 GMT
rdonkin     2002/09/22 14:52:50

  Modified:    digester/src/java/org/apache/commons/digester package.html
  Log:
  Documented known reflection issue
  
  Revision  Changes    Path
  1.14      +17 -0     jakarta-commons/digester/src/java/org/apache/commons/digester/package.html
  
  Index: package.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/package.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- package.html	19 Aug 2002 21:50:33 -0000	1.13
  +++ package.html	22 Sep 2002 21:52:50 -0000	1.14
  @@ -20,6 +20,7 @@
   <a href="#doc.Pluggable">[Pluggable Rules Processing]</a>
   <a href="#doc.RuleSets">[Encapsulated Rule Sets]</a>
   <a href="#doc.FAQ">[FAQ]</a>
  +<a href="#doc.Limits">[Known Limitations]</a>
   </div>
   
   <a name="doc.Depend"></a>
  @@ -858,5 +859,21 @@
   This warning is harmless.
   </p></li>
   </ul>
  +<a name="doc.Limits"></a>
  +<h3>Known Limitations</h3>
  +<h4>Accessing Public Methods In A Default Access Superclass</h4>
  +<p>There is an issue when invoking public methods contained in a default access superclass.
  +Reflection locates these methods fine and correctly assigns them as public.
  +However, an <code>IllegalAccessException</code> is thrown if the method is
invoked.</p>
  +
  +<p><code>MethodUtils</code> contains a workaround for this situation.

  +It will attempt to call <code>setAccessible</code> on this method.
  +If this call succeeds, then the method can be invoked as normal.
  +This call will only succeed when the application has sufficient security privilages. 
  +If this call fails then a warning will be logged and the method may fail.</p>
  +
  +<p><code>Digester</code> uses <code>MethodUtils</code> and
so there may be an issue accessing methods
  +of this kind from a high security environment. If you think that you might be experiencing
this 
  +problem, please ask on the mailing list.</p>
   </body>
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message