This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/12894] New: The included test case works when run with JRE 1.4, but fails w/GCJ
- 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: 4 Nov 2003 08:45:23 -0000
- Subject: [Bug java/12894] New: The included test case works when run with JRE 1.4, but fails w/GCJ
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12894
Summary: The included test case works when run with JRE 1.4, but
fails w/GCJ
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: oyvind dot harboe at zylin dot com
CC: gcc-bugs at gcc dot gnu dot org
- I can run the application w/JRE 1.4.2
java -cp .;activation.jar;gnumail.jar;inetlib.jar;javax-
security.jar;jsse.jar;smtp.jar Send
Subject: ?????????????
- When I try to compile the appliaction using GCJ and run it, I get an error
message:
C:\Temp\foo>send
Subject: ?????????????
javax.mail.NoSuchProviderException: No provider for smtp
at __ZN5javax4mail18MessagingExceptionC1EPN4java4lang6StringEPNS3_9ExceptionE
(C:\Temp\foo\javax\mail\MessagingException.java:70)
at __ZN5javax4mail18MessagingExceptionC1EPN4java4lang6StringE (C:\Temp\foo\ja
vax\mail\Flags.java)
at __ZN5javax4mail23NoSuchProviderExceptionC1EPN4java4lang6StringE (C:\Temp\f
oo\javax\mail\Folder.java)
at __ZN5javax4mail7Session11getProviderEPN4java4lang6StringE (C:\Temp\foo\jav
ax\mail\Session.java:464)
at __ZN5javax4mail7Session12getTransportEPNS0_7URLNameE (C:\Temp\foo\javax\ma
il\Session.java:591)
at __ZN5javax4mail7Session12getTransportEPN4java4lang6StringE (C:\Temp\foo\ja
vax\mail\Session.java:576)
at __ZN4Send4mainEP6JArrayIPN4java4lang6StringEE (C:\Temp\foo\Send.java:44)
at _main (c:\temp\cceEaaaa.i:11)