@@ -0,0 +1,1410 @@
+package com.google.j2cl.common;%0A%0Aimport java.io.PrintStream;%0A%0A/**%0A * Utility methods to replace calls to Java methods that J2cl does not support, so they can be%0A * supersourced when compiling J2cl with J2cl.%0A */%0Apublic class J2clUtils %7B%0A%0A  /**%0A   * J2cl's implementation of String.format(format, args).%0A   * Returns a formatted string using the specified format string and arguments.%0A   * @param format%0A   * @param args%0A   * @return The formatted string.%0A   */%0A  public static String format(String format, Object... args) %7B%0A    return String.format(format, args);%0A  %7D%0A%0A  /**%0A   * J2cl's implementation of PrintStream.printf(format, args).%0A   *   (Note that the method signature differs from PrintStream.printf).%0A   * A convenience method to write a formatted string to this output stream using the specified%0A   *   format string and arguments.%0A   * @param stream%0A   * @param format%0A   * @param args%0A   * @return The stream that was printed to.%0A   */%0A  public static PrintStream printf(PrintStream stream, String format, Object... args) %7B%0A    return stream.printf(format, args);%0A  %7D%0A%0A  /**%0A   * J2cl's implementation of System.exit(status).%0A   * Terminates the currently running Java Virtual Machine. The argument serves as a status code;%0A   *   by convention, a nonzero status code indicates abnormal termination.%0A   * @param status%0A   */%0A  public static void exit(int status) %7B%0A    System.exit(status);%0A  %7D%0A%7D%0A

Add a common/J2clUtils file for methods that j2cl does not support, so it can be supersourced when compiling j2cl with j2cl.