[Bug java/29477] New: [MinGW] JNI broken with certain libs

mtrudel at gmx dot ch gcc-bugzilla@gcc.gnu.org
Sun Oct 15 10:47:00 GMT 2006


The patch http://gcc.gnu.org/ml/java-patches/2006-q3/msg00051.html breaks JNI
in certain cases. The application just silently dies when trying to run a
native method. Reading followup posts and patches tells me that it is known
that this might raise JNI problems.

This library doesn't work:
http://www.avetana-gmbh.de/avetana-gmbh/produkte/jsr82.eng.xml

This little snipped already failes:

public static void main(String[] args)
{
  String url = "btspp://localhost:12345678901234567890123456789012;name=TMP";
  javax.microedition.io.Connector.open(url); // application dies here
  System.out.println("worked");
}


-- 
           Summary: [MinGW] JNI broken with certain libs
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mtrudel at gmx dot ch
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


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



More information about the Java-prs mailing list