re PR libgcj/35979 (JNI method NewStringUTF throws NPE when passed a NULL pointer)
authorTom Tromey <tromey@redhat.com>
Sat, 19 Apr 2008 21:35:02 +0000 (21:35 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 19 Apr 2008 21:35:02 +0000 (21:35 +0000)
commit476924c9e097b4d5f0179c2835bb34d288f92561
tree321bd9b8ba6308e2c16835a5ed17ba629a0d9fb3
parent766cb6619bae7f6d03c12f70861940d5d7ecd131
re PR libgcj/35979 (JNI method NewStringUTF throws NPE when passed a NULL pointer)

PR libgcj/35979:
* jni.cc (_Jv_JNI_NewStringUTF): Return NULL if bytes==NULL.

From-SVN: r134471
libjava/ChangeLog
libjava/jni.cc