File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/java/io/jenkins/plugins/jakarta_xml_bind_api Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1616import org .junit .jupiter .api .Test ;
1717import org .junit .jupiter .api .extension .RegisterExtension ;
1818import org .jvnet .hudson .test .JenkinsRule ;
19- import org .jvnet .hudson .test .RealJenkinsRule ;
2019import org .jvnet .hudson .test .junit .jupiter .RealJenkinsExtension ;
2120
2221class JAXBContextTest {
@@ -34,7 +33,7 @@ private static void _smokes(JenkinsRule r) throws Throwable {
3433 book .setId (1L );
3534 book .setName ("Guide to JAXB" );
3635 JAXBContext context ;
37- try (SetContextClassLoader sccl = new SetContextClassLoader (RealJenkinsRule . Endpoint . class )) {
36+ try (SetContextClassLoader sccl = new SetContextClassLoader (r . getPluginManager (). uberClassLoader )) {
3837 context = JAXBContext .newInstance (Book .class );
3938 }
4039 ByteArrayOutputStream baos = new ByteArrayOutputStream ();
You can’t perform that action at this time.
0 commit comments