Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 4560:e43d36482d12
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 10 Feb 2012 17:09:39 +0100 |
parents | 723df37192d6 ce13e056d821 |
children | 5b04b33dac74 |
comparison
equal
deleted
inserted
replaced
4559:723df37192d6 | 4560:e43d36482d12 |
---|---|
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, "..")) { | 2129 if (strcmp(dentry->d_name, ".") != 0 && strcmp(dentry->d_name, "..") != 0 && strcmp(dentry->d_name, "com.oracle.max.graal.tests") != 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 } |