vadbch / orika

Automatically exported from code.google.com/p/orika
0 stars 0 forks source link

Constructor discovery doesn't work #193

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of Orika are you using?
1.4.5

Please mind that it is required to provide a test of the issue with all
relevant comments. Thank you

This test only fails when using constructors. If you remove the constructor 
from the ImmutableCat and put setters instead everything works fine. I really 
want to be able to leverage constructors here because in our use case 
ImmutableCat becomes shared with the platform and leaving setters on the POJO 
is very dangerous for us. 

Thanks!
Kris

Original issue reported on code.google.com by krisglo...@gmail.com on 2 Mar 2015 at 5:28

Attachments:

GoogleCodeExporter commented 8 years ago
I was getting ArrayIndexOutOfBoundsException when attempting to do constructorB 
in 1.4.5. Going back to 1.4.4 solved my issue.

Original comment by digitalj...@gmail.com on 20 May 2015 at 3:16