Add a new method to LegacyHooks intended to handle far .jar files
Add a new method to LegacyHooks intended to handle far .jar files

ImageJ 1.x' PluginClassLoader operates under the assumption that it will
find the correct class versions no matter how the .jar files are
ordered. Sadly, this is not true: in Fiji, there is a batik.jar with
completely obsolete XML classes, possibly interfering with xalan.jar
which brings up-to-date versions.

To help things, we patch some sane logic into ImageJ 1.x, and this
commit adds the legacy hook that will be called starting with the next
commit changing the LegacyInjector to make use of this method.

Signed-off-by: Johannes Schindelin <53fb8db7833fca1e1746dd8592f61048d350f64c@gmx.de>

imagej/ij1-patcher