* gjavah.c (print_stub_or_jni): Pass `env' to FatalError.
From-SVN: r73642
This commit is contained in:
parent
781a529886
commit
45c00e222f
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user