youxinren / snakeyaml

Automatically exported from code.google.com/p/snakeyaml
Apache License 2.0
0 stars 0 forks source link

Exception when loading Collection #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

When loading a Collection a "No constructors with 3 arguments found for 
interface java.util.Collection" exception is raised.

This issue is the one already discussed in 
http://code.google.com/p/snakeyaml/issues/detail?id=55

I include the failing test case and the (simple) patch here once more. I don't 
know if this is the way to go, might be that the Constructor class needs some 
more fixes/enhancements. The patch fixed the problem for me, though.

Original issue reported on code.google.com by birnbu...@gmail.com on 9 Jul 2010 at 7:16

Attachments:

GoogleCodeExporter commented 9 years ago
I will use the patch and I will try to add more tests.

Original comment by py4fun@gmail.com on 9 Jul 2010 at 8:28

GoogleCodeExporter commented 9 years ago
Fixed.
http://code.google.com/p/snakeyaml/source/detail?r=98b3c0c587424804383c5a34705c2
c93a128301c

It will be delivered in version 1.7

Original comment by py4fun@gmail.com on 9 Jul 2010 at 11:01