Buggy code:
public final class Main { public static void usage ( ) { } private Main ( ) { } public static void main ( String [ ] args ) { } private static void abort ( Throwable t ) { } public static ServerEnvironment determineEnvironment ( String [ ] args , Properties systemProperties , Map < String , String > systemEnvironment , ServerEnvironment . LaunchType launchType ) { final int argsLength = args . length ; String serverConfig = null ; for ( int i = 0 ; i < argsLength ; i ++ ) { final String arg = args [ i ] ; try { if ( ( ( VERSION . equals ( arg ) ) || ( SHORT_VERSION . equals ( arg ) ) ) || ( OLD_VERSION . equals ( arg ) ) ) { System . out . println ( ( "JBoss<seq2seq4repair_space>Application<seq2seq4repair_space>Server<seq2seq4repair_space>" + ( getVersionString ( ) ) ) ) ; return null ; } else if ( ( ( HELP . equals ( arg ) ) || ( SHORT_HELP . equals ( arg ) ) ) || ( OLD_HELP . equals ( arg ) ) ) { Main . usage ( ) ; return null ; } else if ( ( SERVER_CONFIG . equals ( arg ) ) || ( OLD_SERVER_CONFIG . equals ( arg ) ) ) { serverConfig = args [ ( ++ i ) ] ; } else if ( arg . startsWith ( SERVER_CONFIG ) ) { serverConfig = Main . parseValue ( arg , SERVER_CONFIG ) ; if ( serverConfig == null ) { return null ; } } else if ( arg . startsWith ( OLD_SERVER_CONFIG ) ) { serverConfig = Main . parseValue ( arg , OLD_SERVER_CONFIG ) ; if ( serverConfig == null ) { return null ; } } else if ( ( ( PROPERTIES . equals ( arg ) ) || ( OLD_PROPERTIES . equals ( arg ) ) ) || ( SHORT_PROPERTIES . equals ( arg ) ) ) { if ( ! ( Main . processProperties ( arg , args [ ( ++ i ) ] ) ) ) { return null ; } } else if ( arg . startsWith ( PROPERTIES ) ) { String urlSpec = Main . parseValue ( arg , PROPERTIES ) ; if ( ( urlSpec == null ) || ( ! ( Main . processProperties ( arg , urlSpec ) ) ) ) { return null ; } } else if ( arg . startsWith ( SHORT_PROPERTIES ) ) { String urlSpec = Main . parseValue ( arg , SHORT_PROPERTIES ) ; if ( ( urlSpec == null ) || ( ! ( Main . processProperties ( arg , urlSpec ) ) ) ) { return null ; } } else if ( arg . startsWith ( OLD_PROPERTIES ) ) { String urlSpec = Main . parseValue ( arg , OLD_PROPERTIES ) ; if ( ( urlSpec == null ) || ( ! ( Main . processProperties ( arg , urlSpec ) ) ) ) { return null ; } } else if ( arg . startsWith ( "-D" ) ) { String name ; String value ; int idx = arg . indexOf ( "=" ) ; if ( idx == ( - 1 ) ) { name = arg . substring ( 2 ) ; value = "true" ; } else { name = arg . substring ( 2 , idx ) ; value = arg . substring ( ( idx + 1 ) , arg . length ( ) ) ; } systemProperties . setProperty ( name , value ) ; SecurityActions . setSystemProperty ( name , value ) ; } else if ( arg . startsWith ( "-b" ) ) { String value = args [ ( ++ i ) ] ; String logicalName = ( "-b" . equals ( arg ) ) ? "public" : arg . substring ( 2 ) ; <START_BUG> SecurityActions . setSystemProperty ( ( ( ServerEnvironment . NETWORK_IP_PREFIX ) + logicalName ) , value ) ; <END_BUG> } else { System . err . printf ( "Invalid<seq2seq4repair_space>option<seq2seq4repair_space>\'%s\'\n" , arg ) ; Main . usage ( ) ; return null ; } } catch ( IndexOutOfBoundsException e ) { System . err . printf ( "Argument<seq2seq4repair_space>expected<seq2seq4repair_space>for<seq2seq4repair_space>option<seq2seq4repair_space>%s\n" , arg ) ; Main . usage ( ) ; return null ; } } return new ServerEnvironment ( systemProperties , systemEnvironment , serverConfig , launchType ) ; } private static String parseValue ( final String arg , final String key ) { } private static boolean processProperties ( final String arg , final String urlSpec ) { } private static URL makeURL ( String urlspec ) throws MalformedURLException { } }

Fix:
SecurityActions . setSystemProperty ( ( ( ServerEnvironment . JBOSS_BIND_ADDRESS_PREFIX ) + logicalName ) , value ) ;