Okay we are down to the last bit here ... this one is another in the 
category of revealed bugs.

This is the second problem found with Factory implementations returning 
inappropriate results for getImplementationHints().

Hints remaining = null;
Map implementationHints = factory.getImplementationHints();
...
      if (remaining == null) {
           remaining = new Hints(hints);
           remaining.keySet().removeAll(implementationHints.keySet());
     }

The trick being that the Hints class extends RenderingHints and only 
accepts RenderingHints.KEY instances for its keys ... there is as 
ClassCastException being produced:
>     public Object get(Object key) {
>           return hintmap.get((Key) key);
>     }
I am going to modify our Hints implementation to be more forgiving - and 
strip out any non RenderingHint.Key entries.

Cheers,
Jody

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to