For the first time in a several months I tried building with Java 6; it 
was more of an accident - I checked out 2.5.x to look at the unsupported 
build issue.

The failures were in the epsg-hsql module:
1)
> Test set: org.geotools.referencing.factory.epsg.DefaultFactoryTest
> -------------------------------------------------------------------------------
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.932 
> sec <<< FAILURE!
> testFind(org.geotools.referencing.factory.epsg.DefaultFactoryTest)  
> Time elapsed: 0.015 sec  <<< FAILURE!
> java.lang.AssertionError: Should not find without a full scan, because 
> the WKT contains no identifier and the CRS name i
> s ambiguous (more than one EPSG object have this name).
>         at org.junit.Assert.fail(Assert.java:74)
>         at org.junit.Assert.assertTrue(Assert.java:37)
>         at org.junit.Assert.assertNull(Assert.java:375)
>         at 
> org.geotools.referencing.factory.epsg.DefaultFactoryTest.testFind(DefaultFactoryTest.java:800)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
2)
> Test set: org.geotools.referencing.factory.epsg.HsqlDialectEpsgFactoryTest
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.675 
> sec <<< FAILURE!
> testFindWSG84(org.geotools.referencing.factory.epsg.HsqlDialectEpsgFactoryTest)
>   
> Time elapsed: 3.624 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: The CRS should still be in the 
> cache. expected:<EPSG:[4326]> but was:<EPSG:[63266405]
> >
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at 
> org.geotools.referencing.factory.epsg.HsqlDialectEpsgFactoryTest.testFindWSG84(HsqlDialectEpsgFactoryTest.jav
> a:108)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
3)
> Test set: 
> org.geotools.referencing.factory.epsg.HsqlDialectEpsgMediatorTest
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.804 
> sec <<< FAILURE!
> testFindWSG84(org.geotools.referencing.factory.epsg.HsqlDialectEpsgMediatorTest)
>   
> Time elapsed: 4.719 sec  <<< FAILURE!
> junit.framework.ComparisonFailure: The CRS should still in the cache. 
> expected:<EPSG:[4326]> but was:<EPSG:[63266405]>
>         at junit.framework.Assert.assertEquals(Assert.java:81)
>         at 
> org.geotools.referencing.factory.epsg.HsqlDialectEpsgMediatorTest.testFindWSG84(HsqlDialectEpsgMediatorTest.j
> ava:108)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to