This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/29477] New: [MinGW] JNI broken with certain libs
- From: "mtrudel at gmx dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 15 Oct 2006 10:47:17 -0000
- Subject: [Bug java/29477] New: [MinGW] JNI broken with certain libs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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