I'm still using Sun JDK 1.5.0_07 on Ubuntu 6.whatever, and I just saw something odd...

I got a baffling compile error when compiling a test for Beans. (I forget the test...)

The code was something like :

     BeanInfo beanInfo[] = {
           SomeClassThatIsABeanInfo.class.getInstance() };

and the compiler complained that it found j.l.Object rather than BeanInfo.

I did ant clean; ant; ant test   and then all is fine.

Odd.

geir


Paulex Yang wrote:
I got this error reproduced, more than 50 compile errors when I switched to Sun JDK 1.5.0_08 with ant 1.6.5 on WinXP. The mysterious thing is the build passed after "ant clean", while failed again when I modified one file then built without clean.

Anyone others have same issue? Any ideas what happened?

Richard Liang wrote:
Hello,

Our incremental build does not work under the new compiler.

1) ant clean
2) ant
3) modify a piece of code
4) ant
Then, lots of compilation error are reported. To make the build pass, call "ant clean" before the build.

Could anyone re-produce this issue? Thanks a lot.

Best regards,




---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to