#include <string.h>
#include <time.h>
#include <unistd.h>
-#include <sys/utsname.h>
-#include "mm/memory.h"
+#include "mm/memory.hpp"
#include "native/llni.h"
-#include "toolbox/util.h"
-
-#include "vm/class.h"
+#include "vm/class.hpp"
#include "vm/global.h"
-#include "vm/method.h"
+#include "vm/method.hpp"
#include "vm/options.h"
#include "vm/os.hpp"
#include "vm/properties.hpp"
/* Get properties from system. */
- char* cwd = _Jv_getcwd();
+ char* cwd = os::getcwd();
char* env_user = os::getenv("USER");
char* env_home = os::getenv("HOME");
#endif
-// Legacy C interface.
-extern "C" {
- void Properties_put(const char *key, const char *value) { VM::get_current()->get_properties().put(key, value); }
- const char *Properties_get(const char *key) { return VM::get_current()->get_properties().get(key); }
-}
-
-
/*
* These are local overrides for various environment variables in Emacs.
* Please do not remove this and leave it at the end of the file, where