ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <stre...@healthlanguage.com>
Subject Re: javac, depend, and interface constants
Date Tue, 24 Jul 2001 17:46:18 GMT
Well, that would explain it then :-)

I'll have to move forward with one of Pete's suggestions.

Thanks all.

Stefan Bodewig wrote:
> 
> On Mon, 23 Jul 2001, Larry V. Streepy, Jr. <streepy@healthlanguage.com> wrote:
> 
> > I'm not a JLS guru by any means, but I thought non-final references
> > had to be left as real references.
> 
> True, but there is nothing like a non-final reference in an interface,
> see
> <http://java.sun.com/docs/books/jls/second_edition/html/interfaces.doc.html#78642>:
> 
> >> Every field declaration in the body of an interface is implicitly
> >> public, static, and final. It is permitted to redundantly specify any
> >> or all of these modifiers for such fields.
> 
> So, even if you don't put the "final" into your source, the reference
> is final as far as Java is concerned.
> 
> Stefan

-- 
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office)           mailto:streepy@healthlanguage.com
970/626-4425 (fax)              http://www.healthlanguage.com

Mime
View raw message