This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]