-/* nat/VMString.c - java/lang/String
+/* native/vm/VMString.c - java/lang/VMString
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
- R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser,
- M. Probst, S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck,
- P. Tomsich, J. Wenninger
+ Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+ R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+ C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+ Institut f. Computersprachen - TU Wien
This file is part of CACAO.
Changes: Christian Thalinger
- $Id: VMString.c 1042 2004-04-26 17:12:47Z twisti $
+ $Id: VMString.c 1735 2004-12-07 14:33:27Z twisti $
*/
#include <stdlib.h>
-#include "jni.h"
-#include "native.h"
-#include "java_lang_String.h"
-#include <stdio.h>
+#include "native/jni.h"
+#include "native/native.h"
+#include "native/include/java_lang_String.h"
+
/*
* Class: java_lang_VMString
{
if (this) {
/* search table so identical strings will get identical pointers */
- return (java_lang_String *) literalstring_u2(this->value, this->count, this->offset, true);
+ return (java_lang_String *)
+ literalstring_u2(this->value, this->count, this->offset, true);
} else {
return NULL;