commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosu...@apache.org
Subject cvs commit: jakarta-commons/attributes/site/xdocs changelog.xml
Date Sat, 11 Sep 2004 19:18:59 GMT
leosutic    2004/09/11 12:18:59

  Modified:    attributes/site/xdocs changelog.xml
  Log:
  Fixed bug that would make Target checking get bypassed.
  
  Revision  Changes    Path
  1.8       +26 -0     jakarta-commons/attributes/site/xdocs/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/attributes/site/xdocs/changelog.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- changelog.xml	10 Sep 2004 20:49:38 -0000	1.7
  +++ changelog.xml	11 Sep 2004 19:18:59 -0000	1.8
  @@ -24,6 +24,31 @@
       </properties>
       
       <body>
  +        <section name="2004-09-11">
  +            <ul>
  +                <li>
  +                    <p>
  +                        <span style="color: #a00000; font-weight:bold;">BUG:</span>
Checks for Target specifications would go unnoticed for attributes
  +                        attached to fields, methods and constructors. The following code
would
  +                        <b>not</b> result in an <a href="api/org/apache/commons/attributes/InvalidAttributeTargetError.html">InvalidAttributeTargetError</a>.
  +                    The bug is fixed in current CVS.
  +                    </p>
  +                    
  +                    <source><![CDATA[/**
  + * @@Target(Target.METHOD) 
  + */
  +public class AttributeWithTargetMethod {}
  +
  +public class FieldAttributes1 {
  +    /**
  +     * @@AttributeWithTargetMethod() 
  +     */
  +    private Object o;
  +}]]></source>
  +                </li>
  +            </ul>
  +        </section>
  +  
           <section name="2004-09-10">
               <ul>
                   <li>
  @@ -109,6 +134,7 @@
               <ul>
                   <li>
                       <p>
  +                        <span style="color: #a00000; font-weight:bold;">BUG:</span>

                           Fixed bug in the compiler that made it impossible to add
                           attributes to a method that took a parameter whose type 
                           was an inner class. The bug would manifest itself thus:
  
  
  

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


Mime
View raw message