unlockha / beanio

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

Import feature implementation is flawed #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In all but the simplest cases, importing one mapping file into another can lead 
to some unexpected side effects.  If a mapping file A imports mapping file B, 
here are few examples:

1.  Circular references are not prevented, such that if B imports A, a 
StackOverflowError may occur.
2.  Stream definitions in B may adopt type handers declared in A.
3.  If A and B both import a third mapping file C, C may be loaded multiple 
times causing duplicate stream or other exceptions.

Please note this list is not exhaustive.

Original issue reported on code.google.com by kevin.s...@gmail.com on 13 Sep 2011 at 10:34

GoogleCodeExporter commented 8 years ago
Fixed for 1.2.1.

Original comment by kevin.s...@gmail.com on 17 Sep 2011 at 2:36

GoogleCodeExporter commented 8 years ago

Original comment by kevin.s...@gmail.com on 21 Sep 2011 at 10:53