Author: mladen.turk(a)jboss.com
Date: 2007-10-15 07:05:10 -0400 (Mon, 15 Oct 2007)
New Revision: 1114
Modified:
trunk/sight/native/os/stubs/console.c
Log:
Use macros for NewString JNI calls
Modified: trunk/sight/native/os/stubs/console.c
===================================================================
--- trunk/sight/native/os/stubs/console.c 2007-10-15 10:57:40 UTC (rev 1113)
+++ trunk/sight/native/os/stubs/console.c 2007-10-15 11:05:10 UTC (rev 1114)
@@ -80,7 +80,7 @@
SIGHT_EXPORT_DECLARE(jstring, Console, gtitle0)(SIGHT_STDARGS)
{
UNREFERENCED_O;
- return (*_E)->NewStringUTF(_E, "Unknown");
+ return CSTR_TO_JSTRING("Unknown");
}
SIGHT_EXPORT_DECLARE(void, Console, kill3)(SIGHT_STDARGS)