http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50053

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-12-09
                 CC|                            |ktietz at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #11 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-12-09 21:27:02 
UTC ---
Suggested patch for this issue (together with the pending patch for PR/51135
for C++) is:

Index: natClass.cc
===================================================================
--- natClass.cc (revision 182092)
+++ natClass.cc (working copy)
@@ -661,7 +661,7 @@
     throw new java::lang::InstantiationException (getName());

   jobject r = _Jv_AllocObject (this);
-  ((void (*) (jobject)) meth->ncode) (r);
+  ((void (__thiscall *) (jobject)) meth->ncode) (r);
   return r;
 }

It would be kind, if somebody could confirm that it fixes this issue.  I will
prepare then a final variant of this patch.

Reply via email to