Program: 51343
Project: 51343
Buggy source:
/** 
 * Create a   {@link HtppServer} that registers a HttpHandler that in turnmanages all root resource classes found by searching the classes referenced in the java classath.
 * @param u the URI to create the http server. The URI scheme must beequal to "http" or "https". The URI user information and host are ignored If the URI port is not present then port 80 will be  used. The URI path must not be null or an empty string, and must  not absolute (start with a '/' character). The URI path is used  as the context of the HTTP handler (and corresponds to the base  path). The URI query and fragment components are ignored.
 * @param handler the HTTP handler
 * @return the http server
 */
public static HttpServer create(URI u,HttpHandler handler) throws IOException {
  if (u == null)   throw new IllegalArgumentException("String_Node_Str");
  final String scheme=u.getScheme();
  if (!scheme.equalsIgnoreCase("String_Node_Str") && !scheme.equalsIgnoreCase("String_Node_Str"))   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
  final String path=u.getPath();
  if (path == null)   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
 else   if (path.length() == 0)   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
 else   if (path.charAt(0) != '/')   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
  final int port=(u.getPort() == -1) ? 80 : u.getPort();
  final HttpServer server=(scheme.equalsIgnoreCase("String_Node_Str")) ? HttpServer.create(new InetSocketAddress(port),0) : HttpsServer.create(new InetSocketAddress(port),0);
  server.createContext(path,handler);
  return server;
}

Fixed version (ground truth):
/** 
 * Create a   {@link HttpServer} that registers a HttpHandler that in turnmanages all root resource classes found by searching the classes referenced in the java classath.
 * @param u the URI to create the http server. The URI scheme must beequal to "http" or "https". The URI user information and host are ignored If the URI port is not present then port 80 will be  used. The URI path must not be null or an empty string, and must  not absolute (start with a '/' character). The URI path is used  as the context of the HTTP handler (and corresponds to the base  path). The URI query and fragment components are ignored.
 * @param handler the HTTP handler
 * @return the http server
 */
public static HttpServer create(URI u,HttpHandler handler) throws IOException {
  if (u == null)   throw new IllegalArgumentException("String_Node_Str");
  final String scheme=u.getScheme();
  if (!scheme.equalsIgnoreCase("String_Node_Str") && !scheme.equalsIgnoreCase("String_Node_Str"))   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
  final String path=u.getPath();
  if (path == null)   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
 else   if (path.length() == 0)   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
 else   if (path.charAt(0) != '/')   throw new IllegalArgumentException("String_Node_Str" + u + "String_Node_Str");
  final int port=(u.getPort() == -1) ? 80 : u.getPort();
  final HttpServer server=(scheme.equalsIgnoreCase("String_Node_Str")) ? HttpServer.create(new InetSocketAddress(port),0) : HttpsServer.create(new InetSocketAddress(port),0);
  server.createContext(path,handler);
  return server;
}