ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Solofnenko" <trel...@gmail.com>
Subject Re: JDK 1.2 compliance
Date Thu, 12 Apr 2007 15:31:44 GMT
It might be just a compiler issue.

- Alexey.

On 4/12/07, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
>
> When compiling with JDK-1.2.1_004 I got:
>
>
> ... Bootstrapping Ant Distribution
> ... Compiling Ant Classes
> src\main\org\apache\tools\ant\types\PatternSet.java:147: Can't reference
> this before the superclass constructor has been called.
>         private InvertedPatternSet(PatternSet p) {
>                 ^
> src\main\org\apache\tools\ant\types\PatternSet.java:149: Method
> 'addConfiguredPatternset' is inherited in inner class
> org.apache.tools.ant.t
> ypes.PatternSet. InvertedPatternSet, and hides a method of the same name
> in class org.apache.tools.ant.types.PatternSet. An explicit 'this'
> qualifier must be used to select the desired instance.
>             addConfiguredPatternset(p);
>                                     ^
>
>
>
>
> On JDK "build 1.3.0-C" I got no problems ...
>
>
>
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Alexey N. Solofnenko
Home: http://trelony.cjb.net/
Pleasant Hill, CA (GMT-8 usually)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message