public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/13892] New: Incompatibility w/Suns JRE
@ 2004-01-28 9:25 oyvind dot harboe at zylin dot com
2004-01-28 17:51 ` [Bug java/13892] " oyvind dot harboe at zylin dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-01-28 9:25 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
In the thread below, the problem is discussed.
Short story: base64 UTF8 encoding is somehow garbled when run under GIJ.
http://mail.gnu.org/archive/html/classpathx-discuss/2004-01/msg00025.html
Øyvind
--
Summary: Incompatibility w/Suns JRE
Product: gcc
Version: unknown
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] Incompatibility w/Suns JRE
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
@ 2004-01-28 17:51 ` oyvind dot harboe at zylin dot com
2004-02-06 9:54 ` oyvind dot harboe at zylin dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-01-28 17:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From oyvind dot harboe at zylin dot com 2004-01-28 17:51 -------
Created an attachment (id=5601)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5601&action=view)
The .jar's required
I recommend getting these jars from GNU Classpath/Classpathx, but here they are
just in case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] Incompatibility w/Suns JRE
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
2004-01-28 17:51 ` [Bug java/13892] " oyvind dot harboe at zylin dot com
@ 2004-02-06 9:54 ` oyvind dot harboe at zylin dot com
2004-02-06 9:55 ` oyvind dot harboe at zylin dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-02-06 9:54 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] Incompatibility w/Suns JRE
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
2004-01-28 17:51 ` [Bug java/13892] " oyvind dot harboe at zylin dot com
2004-02-06 9:54 ` oyvind dot harboe at zylin dot com
@ 2004-02-06 9:55 ` oyvind dot harboe at zylin dot com
2004-02-06 9:56 ` [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase oyvind dot harboe at zylin dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-02-06 9:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From oyvind dot harboe at zylin dot com 2004-02-06 09:55 -------
Tom Tromey from RedHat wrote:
Hmm, that sounds frightening, what with us so close to a release.
The \0 seems to occur every 200 characters. That's suggestive... look
around for a 200 char or byte buffer and then look in that area for
bugs.
It would help if you could reproduce this in a less complex
environment. E.g. by duplicating your I/O paths in a small program
and then feeding it some predefined text file.
Tom
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
` (2 preceding siblings ...)
2004-02-06 9:55 ` oyvind dot harboe at zylin dot com
@ 2004-02-06 9:56 ` oyvind dot harboe at zylin dot com
2004-02-10 21:01 ` oyvind dot harboe at zylin dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-02-06 9:56 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Incompatibility w/Suns JRE |UTF8 encoding problem/JRE
| |incompatiblity w/small
| |testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
` (3 preceding siblings ...)
2004-02-06 9:56 ` [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase oyvind dot harboe at zylin dot com
@ 2004-02-10 21:01 ` oyvind dot harboe at zylin dot com
2004-02-10 21:10 ` oyvind dot harboe at zylin dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-02-10 21:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From oyvind dot harboe at zylin dot com 2004-02-10 21:01 -------
Created an attachment (id=5716)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5716&action=view)
This is the test application source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
` (4 preceding siblings ...)
2004-02-10 21:01 ` oyvind dot harboe at zylin dot com
@ 2004-02-10 21:10 ` oyvind dot harboe at zylin dot com
2004-02-10 21:18 ` oyvind dot harboe at zylin dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-02-10 21:10 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
------- Additional Comments From oyvind dot harboe at zylin dot com 2004-02-10 21:10 -------
Created an attachment (id=5717)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5717&action=view)
Started test app afresh
I attached the wrong files.
Starting afresh with a complete .zip of everything that is needed.
- place Mohans latest build in \wingcc
- unzip smalltestapp
- compile.cmd
- send mysmtp.sever.com sender@bogus.example.com receiver@bogus.example.com
The message will contain �
Øyvind
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
` (5 preceding siblings ...)
2004-02-10 21:10 ` oyvind dot harboe at zylin dot com
@ 2004-02-10 21:18 ` oyvind dot harboe at zylin dot com
2004-12-06 5:25 ` [Bug libgcj/13892] [win32] " pinskia at gcc dot gnu dot org
2004-12-12 21:34 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2004-02-10 21:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From oyvind dot harboe at zylin dot com 2004-02-10 21:18 -------
GIJ Doesn't work either.
\wingcc\bin\gij -cp java-security.jar;inetlib.jar;activation.jar;smt
p.jar;gnumail.jar;jsse.jar;. Send mysmtp.sever.com sender@bogus.example.com
receiver@bogus.example.com
W/Suns JRE it works fine and there is no � in the message.
java -cp java-
security.jar;inetlib.jar;activation.jar;smtp.jar;gnumail.jar;jsse.jar;. Send
mail.broadpark.no oyvind.harboe@zylin.com oharboe@broadpark.no
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/13892] [win32] UTF8 encoding problem/JRE incompatiblity w/small testcase
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
` (6 preceding siblings ...)
2004-02-10 21:18 ` oyvind dot harboe at zylin dot com
@ 2004-12-06 5:25 ` pinskia at gcc dot gnu dot org
2004-12-12 21:34 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-06 5:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |libgcj
Summary|UTF8 encoding problem/JRE |[win32] UTF8 encoding
|incompatiblity w/small |problem/JRE incompatiblity
|testcase |w/small testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/13892] [win32] UTF8 encoding problem/JRE incompatiblity w/small testcase
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
` (7 preceding siblings ...)
2004-12-06 5:25 ` [Bug libgcj/13892] [win32] " pinskia at gcc dot gnu dot org
@ 2004-12-12 21:34 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-12 21:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-12 21:34 -------
*** This bug has been marked as a duplicate of 14670 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13892
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-12-12 21:34 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-28 9:25 [Bug java/13892] New: Incompatibility w/Suns JRE oyvind dot harboe at zylin dot com
2004-01-28 17:51 ` [Bug java/13892] " oyvind dot harboe at zylin dot com
2004-02-06 9:54 ` oyvind dot harboe at zylin dot com
2004-02-06 9:55 ` oyvind dot harboe at zylin dot com
2004-02-06 9:56 ` [Bug java/13892] UTF8 encoding problem/JRE incompatiblity w/small testcase oyvind dot harboe at zylin dot com
2004-02-10 21:01 ` oyvind dot harboe at zylin dot com
2004-02-10 21:10 ` oyvind dot harboe at zylin dot com
2004-02-10 21:18 ` oyvind dot harboe at zylin dot com
2004-12-06 5:25 ` [Bug libgcj/13892] [win32] " pinskia at gcc dot gnu dot org
2004-12-12 21:34 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).