[JENKINS-30820] pick up the new bytecode-compat-t.

The new version of the BCT does not generate stackMap if the original code
did not contain stack maps.  Further more the new version takes a
classloader to use so that it can load classes when searching for the
common parent class.
This commit is contained in:
James Nord committed 2015-10-16 18:34:24 +02:00
1 parent 21f36fb221
commit 4c6dd0135a
2 files changed
+2 -2

No files matched your search

@@ -797,7 +797,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
@Override
protected Class defineClassFromData(File container, byte[] classData, String classname) throws IOException {
if (!DISABLE_TRANSFORMER)
classData = pluginManager.getCompatibilityTransformer().transform(classname, classData);
classData = pluginManager.getCompatibilityTransformer().transform(classname, classData, this);
return super.defineClassFromData(container, classData, classname);
}
}