diff --git a/core/pom.xml b/core/pom.xml
index e8b5425bdfbfce74c9cb91a988f86a28cfd67c51..7b49cf7be20c24757b1aeedef56d36301d356450 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -42,7 +42,7 @@ THE SOFTWARE.
true
- 1.197
+ 1.198
diff --git a/core/src/main/java/hudson/widgets/RenderOnDemandClosure.java b/core/src/main/java/hudson/widgets/RenderOnDemandClosure.java
index 6bc55c3914aafe8799b2f19720e5533d4d91e8d5..13ebee6de4ae27e4a59b2e5db998ecb0346b5306 100644
--- a/core/src/main/java/hudson/widgets/RenderOnDemandClosure.java
+++ b/core/src/main/java/hudson/widgets/RenderOnDemandClosure.java
@@ -37,7 +37,9 @@ import org.kohsuke.stapler.Stapler;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.bind.JavaScriptMethod;
+import org.kohsuke.stapler.framework.adjunct.AdjunctsInPage;
import org.kohsuke.stapler.jelly.DefaultScriptInvoker;
+import org.xml.sax.SAXException;
import javax.servlet.ServletException;
import java.io.IOException;
@@ -45,6 +47,7 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -61,6 +64,8 @@ public class RenderOnDemandClosure {
private final Map variables;
private final String currentDescriptorByNameUrl;
+ private final Set adjuncts;
+
public RenderOnDemandClosure(JellyContext context, String attributesToCapture) {
List