libgcj/8685: CNI Invocation of Java code from C++ example fails

tromey@gcc.gnu.org tromey@gcc.gnu.org
Mon Dec 2 20:07:00 GMT 2002


Synopsis: CNI Invocation of Java code from C++ example fails

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Mon Dec  2 20:07:39 2002
Responsible-Changed-Why:
    I'm handling this.
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Mon Dec  2 20:07:39 2002
State-Changed-Why:
    The problem is that the executable name isn't set.
    One workaround is to call _Jv_ThisExecutable before calling
    JvCreateJavaVM.  Any argument is fine, though argv[0] is best.
    
    This is still bad, though, since that isn't really part
    of the API.  I'm not sure what we should do here.
    I'll ask on-list.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8685



More information about the Gcc-bugs mailing list