------- Comment #2 from tromey at gcc dot gnu dot org 2008-05-16 19:03 ------- in build_jni_stub, build_class_ref returns NULL because this_classdollar is NULL. Probably we should call cache_this_class_ref here, but that would mean making java_add_stmt work in the jni stub case.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36247