Java: Blank static final variable `TRUE' may not have be initialized.

Toon Moene toon@moene.indiv.nluug.nl
Wed Dec 13 13:04:00 GMT 2000


Is it just me, or is this a real problem ?

/home/toon/compilers/snapshots/obj/gcc/gcj
-B/home/toon/compilers/snapshots/obj/i686-pc-linux-gnu/libjava/
-B/home/toon/compilers/snapshots/obj/gcc/ --encoding=UTF-8 -C -g
-classpath
/home/toon/compilers/snapshots/obj/i686-pc-linux-gnu/libjava:/home/toon/compilers/snapshots/gcc/libjava
-d /home/toon/compilers/snapshots/obj/i686-pc-linux-gnu/libjava
java/lang/Boolean.java
java/lang/Boolean.java:25: Blank static final variable `FALSE' may not
have be initialized.
     public static final Boolean FALSE = new Boolean(false);
                                 ^
java/lang/Boolean.java:26: Blank static final variable `TRUE' may not
have be initialized.
     public static final Boolean TRUE = new Boolean(true);
                                 ^
2 errors
make[2]: *** [libgcj.jar] Error 1

Seen for several days now ...

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


More information about the Gcc-bugs mailing list