hg: lambda/lambda/langtools: Enhancement: Add support for more aggressive type-inference
maurizio.cimadamore at oracle.com
Sat Aug 4 01:59:53 PDT 2012
On 03-Aug-12 6:49 PM, Andrew Hughes wrote:
> ----- Original Message -----
>> On 08/03/2012 07:43 AM, Henri Gomez wrote:
>>>>> Good catch - the compiler now catches more 'redundant casts' as a
>>>>> side-effect of a change I made... I will correct this (and other
>>>> Interesting - this is not caught by the new build system (the one
>>>> I used to
>>>> check that everything was ok)...
>>> I stick with old build system with a fresh rebuild each time (ie
>>> removing previously built contents)
>>> A more safe approach IMOO
>> Anyone seeing issues with the new build system should report such
>> issues to build-infra-dev at openjdk.java.net. The time will come when
>> new build system is the default and the old build system will be
>> -- Jon
> It sounds to me like it may be less to do with the build system and more
> to do with clean compiles. I try and always make sure to do a completely
> clean build out-of-tree before committing to any project.
I did cleaned up the build folder - but the issue was not picked up.
Either the class is not being compiled, or the Xlint/Werror flag is not
passed (therefore the redundant cast is not detected, or it doesn't make
the build fail) - with the latter being more likely.
More information about the lambda-dev