Alas, we cannot initialize these classes; the JVM spec. forbids it.
Signed-off-by: Vegard Nossum <[email protected]>
---
vm/jato.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index 6fcd54f..26203af 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -196,15 +196,6 @@ static int preload_vm_classes(void)
*pe->field = field;
}
- for (unsigned int i = 0; i < ARRAY_SIZE(preload_entries); ++i) {
- const struct preload_entry *pe = &preload_entries[i];
-
- if (vm_class_ensure_init(*pe->class)) {
- NOT_IMPLEMENTED;
- return 1;
- }
- }
-
return 0;
}
--
1.6.0.4
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel