Skip to content

Commit 5979df3

Browse files
Fix references to RealJenkinsRule.Endpoint (#145)
1 parent b589d01 commit 5979df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private static void _smokes(JenkinsRule r) throws Throwable {
3333
book.setId(1L);
3434
book.setName("Guide to JAXB");
3535
JAXBContext context;
36-
try (SetContextClassLoader sccl = new SetContextClassLoader(RealJenkinsRule.Endpoint.class)) {
36+
try (SetContextClassLoader sccl = new SetContextClassLoader(r.getPluginManager().uberClassLoader)) {
3737
context = JAXBContext.newInstance(Book.class);
3838
}
3939
ByteArrayOutputStream baos = new ByteArrayOutputStream();

0 commit comments

Comments
 (0)