Jody Garnett a écrit :
> The following two test cases:
> - DefaultFactoryOnlineTest - in epsg/oracle
> - DefaultFactoryTest - in epsg/hsql
>
> Have been giving me problems when they perform an:
> - assertSame(((Conversion) operation).getMethod(), ((Conversion)
> projection).getMethod());
>
> I understand that this should serve as a sanity check that the
> WeakHashSet is functioning correctly, and I am actually sure it is. I am
> pretty sure that I am getting duplicate ReferencingFactoryContainer
> instances created (each with its own ReferencingObjectFactory and thus
> more than one instance created).
No this is not related to ReferencingFactoryContainer.
After investigation, the whole buffering system was not working anymore during
recursive calls (not only for OperationMethod case) - the EPSG factory must
have
been much slower. This is because ThreadedEpsgFactory at line 498-499 has not
been updated for the "FactoryUsingSQL --> DirectEpsgFactory" class name change.
Fixed on trunk as of revision 25972. As a side effect, ThreadedEpsgFactory do
not extends anymore (temporarily) ThreadedAuthorityFactory. This is temporary
in
order to keep a little bit of stability on trunk until ThreadedAuthorityFactory
is ready.
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel