[llvm-commits] [vmkit] r50524 - /vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Thu May 1 08:00:21 PDT 2008
Author: geoffray
Date: Thu May 1 10:00:21 2008
New Revision: 50524
URL: http://llvm.org/viewvc/llvm-project?rev=50524&view=rev
Log:
Implement -Xbootclasspath command line option.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp?rev=50524&r1=50523&r2=50524&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaIsolate.cpp Thu May 1 10:00:21 2008
@@ -217,6 +217,14 @@
vm->addProperty(key, &value[1]);
}
}
+ } else if (!(strncmp(cur, "-Xbootclasspath:", 16))) {
+ uint32 len = strlen(cur);
+ if (len == 16) {
+ printInformation();
+ } else {
+ char* path = &cur[16];
+ vm->analyseClasspathEnv(path);
+ }
} else if (!(strcmp(cur, "-enableassertions"))) {
nyi();
} else if (!(strcmp(cur, "-ea"))) {
More information about the llvm-commits
mailing list