cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Anyone seen this yet?
Date Mon, 05 Feb 2001 20:48:33 GMT
On Mon, 5 Feb 2001, Kevin Sonney wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I *JUST* grabbed a clean repository from cvs of cocoon 1.x, and I see
> the following :
>
>     [javac]
> /usr/local/src/cocoon-1.x-dev/build/src/org/apache/cocoon/Utils.java:339: Can't
> make static reference to method java.lang.Class getClass() in class
> java.lang.Object.
>     [javac]             resource = getClass ().getClassLoader
> ().getResource (res);
>     [javac]                                 ^
>     [javac]
> /usr/local/src/cocoon-1.x-dev/build/src/org/apache/cocoon/Utils.java:366: Statement
> not reached.
>     [javac]         return resource;
>     [javac]         ^
>     [javac]
> /usr/local/src/cocoon-1.x-dev/build/src/org/apache/cocoon/Utils.java:366: Undefined
> variable: resource
>     [javac]         return resource;
>     [javac]                ^
>     [javac]
> Note: /usr/local/src/cocoon-1.x-dev/build/src/org/apache/cocoon/Utils.java
> uses or overrides a deprecated API.  Recompile with "-deprecation" for
> details.
>     [javac] 3 errors, 1 warning
>
> Util.java has been deleted and re-got, and is showing as cvs Rev. 1.24, as
> checked in by greenrd earlier today.
>
> One error can be fixed by commenting out line 366, but the static reference
> to getClass() is a problem.
>
> Anyone else seeing this? I'm using Blackdown's 1.3_FCS JDK on Linux...

i get it too. let's try to keep the repository such that it'll at least
compile, shall we? ;)

- donald


Mime
View raw message