}
/* Compatibility with JDK 1.3.1 */
- private static String[] split (String s) {
+ public static String[] split (String s) {
List list = new ArrayList();
StringTokenizer st = new StringTokenizer(s," ");
while (st.hasMoreTokens()) {
"-argfile " + OUTPUT_PACKAGE + File.separatorChar + "build.lst";
// split method creates a String array delimited on a space
- String[] parsedArgs = ajcargs.split(" ");
+ String[] parsedArgs = RunWeaveTests.split(ajcargs);
long start = System.currentTimeMillis();
return stop - start;
}
+
public static void weaveAspects(String adviceType) throws IOException {
adviceType = adviceType.toLowerCase();
"-outjar " + OUTPUT_PACKAGE + File.separatorChar + adviceName + ".jar " +
OUTPUT_PACKAGE + File.separatorChar + adviceName + ".aj";
- String[] parsedArgs = ajcargs.split(" ");
+ String[] parsedArgs = RunWeaveTests.split(ajcargs);
long start = System.currentTimeMillis();