This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13892] Incompatibility w/Suns JRE
- From: "oyvind dot harboe at zylin dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2004 09:54:23 -0000
- Subject: [Bug java/13892] Incompatibility w/Suns JRE
- References: <20040128092528.13892.oyvind.harboe@zylin.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From oyvind dot harboe at zylin dot com 2004-02-06 09:54 -------
Correction of first comment: this problem happens with GCJ. I have not tested
with GIJ.
Extract from mailing list discussion follows:
Attached is a small case to reproduce the problem.
To compile:
\wingcc\bin\gcj -c -o javax-security.o javax-security.jar
\wingcc\bin\gcj -c -o inetlib.o --classpath jsse.jar;javax-security.jar
inetlib.jar
\wingcc\bin\gcj -c -o gnumail.o --classpath inetlib.jar;activation.jar
gnumail.jar
\wingcc\bin\gcj -c -o activation.o activation.jar
\wingcc\bin\gcj -c -o smtp.o --classpath gnumail.jar;inetlib.jar smtp.jar
\wingcc\bin\gcj -c -o jsse.o jsse.jar
\wingcc\bin\gcj -c -o send.o Send.java --classpath gnumail.jar
\wingcc\bin\gcj -c -o dummy.o Dummy.java
\wingcc\bin\gcj -s -o send.exe activation.o gnumail.o inetlib.o smtp.o jsse.o
send.o dummy.o javax-security.o --main=Send
To test:
c:\temp\foo> send mysmtp.sever.com sender@bogus.example.com
receiver@bogus.example.com
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892