You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Kevin Sonney <ke...@webslingerz.com> on 2001/02/05 21:27:35 UTC

Anyone seen this yet?

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

- -- 
+-------------------------------------------+
| Kevin Sonney        kevin@webslingerZ.com |
| Systems Programmer    www.webslingerZ.com |
+-------------------------------------------+

"The weakest link in any civil rights case is always the
defendant. Imagine being a lawyer and getting a call from me. That's why I
try to, uh, behave myself." - Hunter S. Thompson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/

iD8DBQE6fwzScbCBb3nWqT8RAu/6AKCGYwQK8HHrXCaBAnBLD9GeekFOqgCfTJ9l
uVLPNu+WW7FHw3iX4r0GVNk=
=uHG0
-----END PGP SIGNATURE-----


Re: Anyone seen this yet?

Posted by Donald Ball <ba...@webslingerZ.com>.
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