db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: deprecation warnings with jdk15 build
Date Wed, 17 Oct 2007 09:27:13 GMT
Jørgen Løland <Jorgen.Loland@Sun.COM> writes:

> Myrna van Lunteren wrote:
>> Hi,
>> Now that we switched to jdk15 as the base level for the trunk, I see a
>> ton of deprecation warnings.
>> My jdk is: Sun's 1.5.0_12-b04, and I've got build.compiler set to modern
>> I find it bothersome and hard to see 'real' build failures like this,
>> but trunk/tools/ant/properties/modern.properties has deprecation set
>> to 'on'.
>> Would it be reasonable to set this to 'off' or am I the only one
>> seeing these warnings?
>> Or is there another trick I need to do?
>> Thx,
>> Myrna
> Wouldn't it be even better if we fixed these? There is usually a good
> reason for deprecating methods, e.g. performance.

I agree. There may be cases where we want to use deprecated methods,
like in tests of JDBC methods that have been deprecated in later
versions of the spec, but then we could narrow it down to a smaller
number of files for which deprecation warnings are turned off.

Knut Anders

View raw message