You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/03/16 22:30:31 UTC

DO NOT REPLY [Bug 46865] New: Constant static fields in org.apache.tools.ant.types.Path are not final

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

           Summary: Constant static fields in
                    org.apache.tools.ant.types.Path are not final
           Product: Ant
           Version: 1.7.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: ceaemeelote@gmail.com


Hello,

as i understand, the static fields systemClasspath and systemBootClasspath in
org.apache.tools.ant.types.Path are intended to be constants. But they are not
final, so potentially can be changed by malicious code or by accident from
another package

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

DO NOT REPLY [Bug 46865] Constant static fields in org.apache.tools.ant.types.Path are not final

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46865


J.M. (Martijn) Kruithof <jk...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from J.M. (Martijn) Kruithof <jk...@apache.org>  2009-03-17 13:01:07 PST ---
Changing this would be an backward incompatible change, futhermore the nameing
does not suggest that these would be constants. (constants within ant are all
uppercase). These items are not final in order to have the possibility to have
the path replaced by other (build) tools that do use ant (for instance eclipse)

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