From 47de54d070f67af95b4fefb6d006a72bb31a5cb8 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Thu, 1 Aug 2013 10:58:26 -0700 Subject: [PATCH] [FIXED JENKINS-18677] Integrated bytecode-compatibility-transformer that allows core to do signature changes on properties that plugins might depend on. The library performs necessary bytecode transformation to achieve this. The first use of this is to fix plugins that looks for List AbstractProject.triggers, thereby resolving JENKINS-18677. For the time being, I'm not loading such compatibility annotations from plugins, but I did code that in PluginManager. Let's see how this feature work out for a while in the core, and if it looks stable and solid, we'll open it up to plugins at that point. --- changelog.html | 6 +++++ core/pom.xml | 5 ++++ .../java/hudson/ClassicPluginStrategy.java | 26 ++++++++----------- core/src/main/java/hudson/PluginManager.java | 21 +++++++++++++++ .../java/hudson/model/AbstractProject.java | 2 ++ pom.xml | 2 +- 6 files changed, 46 insertions(+), 16 deletions(-) diff --git a/changelog.html b/changelog.html index 20f1474320..8d6295ffe4 100644 --- a/changelog.html +++ b/changelog.html @@ -55,6 +55,12 @@ Upcoming changes