Buggy code:
public class ProvisioningServiceMBeanTest extends AbstractIntegrationTest { @ Configuration public static Option [ ] configuration ( ) { } @ Before public void doSetUp ( ) throws Exception { } @ Ignore ( "For<seq2seq4repair_space>now..<seq2seq4repair_space>Cannot<seq2seq4repair_space>find<seq2seq4repair_space>public<seq2seq4repair_space>repo<seq2seq4repair_space>for<seq2seq4repair_space>org.eclipse.equinox.ip" ) @ Test @ SuppressWarnings ( "unchecked" ) public void testMBeanInterface ( ) throws Exception { ProvisioningServiceMBean mbean = getMBean ( OBJECTNAME , ProvisioningServiceMBean . class ) ; assertNotNull ( mbean ) ; ServiceTracker tracker = new ServiceTracker ( bundleContext , ProvisioningService . class . getName ( ) , null ) ; tracker . open ( ) ; ProvisioningService ps = ( ( ProvisioningService ) ( tracker . getService ( ) ) ) ; assertNotNull ( ps ) ; Dictionary < String , Object > info ; File provZip = File . createTempFile ( "Prov-jmx-itests" , ".zip" ) ; Manifest man = new Manifest ( ) ; man . getMainAttributes ( ) . putValue ( "Manifest-Version" , "1.0" ) ; man . getMainAttributes ( ) . putValue ( "Content-Type" , "application//zip" ) ; JarOutputStream jout = new JarOutputStream ( new FileOutputStream ( provZip ) , man ) ; ZipEntry entry = new ZipEntry ( PROVISIONING_AGENT_CONFIG ) ; jout . putNextEntry ( entry ) ; jout . write ( new byte [ ] { 10 , 20 , 30 } ) ; jout . closeEntry ( ) ; jout . flush ( ) ; jout . close ( ) ; provZip . deleteOnExit ( ) ; <START_BUG> mbean . addInformation ( provZip . toURL ( ) . toExternalForm ( ) ) ; <END_BUG> info = ps . getInformation ( ) ; assertNotNull ( info ) ; assertTrue ( ( ( info . size ( ) ) >= 1 ) ) ; byte [ ] config = ( ( byte [ ] ) ( info . get ( PROVISIONING_AGENT_CONFIG ) ) ) ; assertNotNull ( config ) ; assertArrayEquals ( new byte [ ] { 10 , 20 , 30 } , config ) ; TabularData data = mbean . listInformation ( ) ; assertNotNull ( data ) ; assertEquals ( PROPERTIES_TYPE , data . getTabularType ( ) ) ; assertTrue ( ( ( data . values ( ) . size ( ) ) >= 1 ) ) ; PropertyData < byte [ ] > configEntry = PropertyData . from ( data . get ( new Object [ ] { PROVISIONING_AGENT_CONFIG } ) ) ; assertNotNull ( configEntry ) ; assertArrayEquals ( new byte [ ] { 10 , 20 , 30 } , configEntry . getValue ( ) ) ; PropertyData < String > reference = PropertyData . newInstance ( PROVISIONING_REFERENCE , "rsh:////0.0.0.0//provX" ) ; data . put ( reference . toCompositeData ( ) ) ; mbean . addInformation ( data ) ; info = ps . getInformation ( ) ; assertNotNull ( info ) ; assertTrue ( ( ( info . size ( ) ) >= 2 ) ) ; config = ( ( byte [ ] ) ( info . get ( PROVISIONING_AGENT_CONFIG ) ) ) ; assertNotNull ( config ) ; assertArrayEquals ( new byte [ ] { 10 , 20 , 30 } , config ) ; String ref = ( ( String ) ( info . get ( PROVISIONING_REFERENCE ) ) ) ; assertNotNull ( ref ) ; assertEquals ( "rsh:////0.0.0.0//provX" , ref ) ; data . clear ( ) ; PropertyData < String > newRef = PropertyData . newInstance ( PROVISIONING_REFERENCE , "rsh:////0.0.0.0//newProvRef" ) ; data . put ( newRef . toCompositeData ( ) ) ; mbean . setInformation ( data ) ; info = ps . getInformation ( ) ; assertNotNull ( info ) ; assertTrue ( ( ( info . size ( ) ) >= 1 ) ) ; assertNull ( info . get ( PROVISIONING_AGENT_CONFIG ) ) ; ref = ( ( String ) ( info . get ( PROVISIONING_REFERENCE ) ) ) ; assertNotNull ( ref ) ; assertEquals ( "rsh:////0.0.0.0//newProvRef" , ref ) ; } }

Fix:
mbean . addInformationFromZip ( provZip . toURL ( ) . toExternalForm ( ) ) ;