ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: javac, depend, and interface constants
Date Tue, 24 Jul 2001 05:37:18 GMT
On Mon, 23 Jul 2001, Larry V. Streepy, Jr. <> 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,

>> 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.


View raw message