You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Richard Liang <ri...@gmail.com> on 2006/08/28 14:00:30 UTC
[classlib][build] bug of RI 1.5.0_08 compiler
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,
--
Richard Liang
China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib][build] bug of RI 1.5.0_08 compiler
Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
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: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [classlib][build] bug of RI 1.5.0_08 compiler
Posted by Paulex Yang <pa...@gmail.com>.
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,
>
--
Paulex Yang
China Software Development Lab
IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org