* gjavah.c (print_stub_or_jni): Pass `env' to FatalError.

From-SVN: r73642
This commit is contained in:
Tom Tromey 2003-11-16 04:46:48 +00:00 committed by Tom Tromey
parent 781a529886
commit 45c00e222f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-15 Tom Tromey <tromey@redhat.com>
* gjavah.c (print_stub_or_jni): Pass `env' to FatalError.
2003-11-12 Jason Merrill <jason@redhat.com>
PR optimization/12547

View File

@ -1597,7 +1597,7 @@ print_stub_or_jni (FILE* stream, JCF* jcf, int name_index,
if (stubs)
{
if (flag_jni)
fputs ("\n{\n (*env)->FatalError (\"", stream);
fputs ("\n{\n (*env)->FatalError (env, \"", stream);
else
fputs ("\n{\n throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 (\"", stream);
print_name_for_stub_or_jni (stream, jcf, name_index,