#include "vm/exceptions.h"
#include "vm/global.h"
#include "vm/package.hpp"
-#include "vm/primitive.h"
+#include "vm/primitive.hpp"
#include "vm/resolve.h"
#include "vm/stringlocal.h"
#include "vm/vm.h"
/* check for cases like `[II' and whether the character is a
valid primitive type */
- if ((namelen > 2) || (primitive_class_get_by_char(text[1]) == NULL)) {
+ if ((namelen > 2) || (Primitive_get_class_by_char(text[1]) == NULL)) {
exceptions_throw_classnotfoundexception(c->name);
return NULL;
}