mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 00:25:58 +00:00
[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:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user