On Wednesday, January 26, 2011 01:18:36 pm Andy Seaborne wrote:
> The test suite is producing warnings:

> Should these be warnings at all?

> WARN [main] (LiteralLabelImpl.java:129) - inventing a datatype for class 
> java.sql.Date

Yes, they should be at least warnings. The literal system has been asked
to create a typed literal for which it does not have a registered
datatype object. So it creates one (and re-uses it as necessary).

Good programs won't do this, but it allows less-good [1] programs,
and tests, to carry on.

Making it an error would mean fiddling around with the regression
tests -- or finally dumping them, since they are pure legacy and
their job was taken over by NewRegression. Making it configurable
would be a pain (adding a new global flag is an a-priori bad idea,
and doesn't work if different models would have different expectations).

I'm thinking ... pastels! and dumping the old regression suite. Less
clutter to carry forward.

Chris

 [1] ++ungood programs have more serious issues. 

-- 
"There are questions, so many questions"                /Script Switch Trigger/

Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)

Reply via email to