We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b589d01 commit 5979df3Copy full SHA for 5979df3
src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java
@@ -33,7 +33,7 @@ private static void _smokes(JenkinsRule r) throws Throwable {
33
book.setId(1L);
34
book.setName("Guide to JAXB");
35
JAXBContext context;
36
- try (SetContextClassLoader sccl = new SetContextClassLoader(RealJenkinsRule.Endpoint.class)) {
+ try (SetContextClassLoader sccl = new SetContextClassLoader(r.getPluginManager().uberClassLoader)) {
37
context = JAXBContext.newInstance(Book.class);
38
}
39
ByteArrayOutputStream baos = new ByteArrayOutputStream();
0 commit comments