timothyjward commented on code in PR #403:
URL: https://github.com/apache/felix-dev/pull/403#discussion_r2036969969
##########
framework/src/test/java/org/apache/felix/framework/BundleWiringImplTest.java:
##########
@@ -526,8 +498,8 @@ public void testAccessorSubsequentLoadFailed() throws
Exception
mockFramework = mock(Felix.class);
when(mockFramework.getBootPackages()).thenReturn(new String[0]);
when(bundleWiring.getBundle().getFramework()).thenReturn(mockFramework);
- bundleClassLoader.loadClass(classToBeLoaded, true);
- fail();
+ bundleClassLoader.loadClass(classToBeLoaded, true);
+ fail("");
Review Comment:
```suggestion
fail("Class loading should fail");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]