Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.cpp @ 4587:5b04b33dac74
add jtt tests, converted from the maxine repository using ConvertJTT
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 14 Feb 2012 16:27:59 +0100 |
parents | e43d36482d12 |
children | 33df1aeaebbf |
comparison
equal
deleted
inserted
replaced
4586:05a6d48a6ace | 4587:5b04b33dac74 |
---|---|
2124 struct dirent* dentry; | 2124 struct dirent* dentry; |
2125 char* tdbuf = NEW_C_HEAP_ARRAY(char, os::readdir_buf_size(graal_dir)); | 2125 char* tdbuf = NEW_C_HEAP_ARRAY(char, os::readdir_buf_size(graal_dir)); |
2126 errno = 0; | 2126 errno = 0; |
2127 DIR* graal_dir_handle = os::opendir(graal_dir); | 2127 DIR* graal_dir_handle = os::opendir(graal_dir); |
2128 while ((dentry = os::readdir(graal_dir_handle, (struct dirent *)tdbuf)) != NULL) { | 2128 while ((dentry = os::readdir(graal_dir_handle, (struct dirent *)tdbuf)) != NULL) { |
2129 if (strcmp(dentry->d_name, ".") != 0 && strcmp(dentry->d_name, "..") != 0 && strcmp(dentry->d_name, "com.oracle.max.graal.tests") != 0) { | 2129 if (strcmp(dentry->d_name, ".") != 0 && strcmp(dentry->d_name, "..") != 0 && strcmp(dentry->d_name, "com.oracle.max.graal.tests") != 0 && strcmp(dentry->d_name, "com.oracle.max.graal.jtt") != 0) { |
2130 prepend_to_graal_classpath(scp_compiler, graal_dir, dentry->d_name); | 2130 prepend_to_graal_classpath(scp_compiler, graal_dir, dentry->d_name); |
2131 if (PrintVMOptions) { | 2131 if (PrintVMOptions) { |
2132 tty->print_cr("Adding project directory %s to bootclasspath", dentry->d_name); | 2132 tty->print_cr("Adding project directory %s to bootclasspath", dentry->d_name); |
2133 } | 2133 } |
2134 } | 2134 } |