RFR: 5108778 Too many instances of java.lang.Boolean created in Java application(core-libs)
sebastian.sickelmann at gmx.de
Fri Oct 9 09:45:28 UTC 2015
On 10/08/2015 08:58 PM, Stuart Marks wrote:
> On 10/7/15 12:59 PM, Sebastian Sickelmann wrote:
>> The Boolean constructors are @Deprecated now so that we get
>> compile-warnings for the uses. See also  and 
> Hi Sebastian,
> I did suggest adding @Deprecated to the Boolean constructors, but only
> in your own source tree, as a quick means of causing the compiler to
> emit warnings for places where they're used. I don't think we should
> actually go ahead and deprecate them at this time. So, please drop the
> deprecation changes from your patch. Sorry for the misunderstanding.
> (As I've mentioned elsewhere, there is forthcoming work in the area of
> deprecation, so the Boolean constructors will eventually be marked in
> some way so that developers will be advised to update their code.)
> I do think the cleanup work to remove usages of the Boolean
> constructors is worthwhile and that you should proceed with it.
Thanks for the clarification. But than i will use my static analysis
tool, because it runs in a few seconds after an incremental build.
While using the deprecated option, take some more time cause i think a
have to do a clean build to get all warnings.
So please forget the core-libs webrev
More information about the core-libs-dev