The return value of the method JCasUtil.selectSingle() has changed from <T
extends FeatureStructure> to <T extends TOP> as part of issue 58.
We had to notice that Java throws a NoSuchMethodException at runtime due to
this change when a project depends on code compiled against uimaFIT 1.1.0 but
depends itself on uimaFIT 1.2.0 or on other code compiled against uimaFIT
1.2.0. This is something we had not expected, because Java does not consider
the return value as part of the signature when dispatching method calls.
There is no workaround. It is not possible to mix code compiled against uimaFIT
1.1.0 with code compiled against uimaFIT 1.2.0.
Original issue reported on code.google.com by richard.eckart on 29 May 2011 at 9:28
Original issue reported on code.google.com by
richard.eckart
on 29 May 2011 at 9:28