bug analysis
Christophe Roux
ch_roux@club-internet.fr
Mon Jun 10 08:27:00 GMT 2002
I try to port a java set of servlet from jdk1.2 / tomcat-2.3.2 to gcj
(gcc-3.1) with tomcat-3.2.3 from rhug.
I met a problem with object deserialization as transmitting data from a first
servlet to a second one with a POST request. (I tried a
serialization/deserialization with a simple ByteArrayInputStream before, it
works)
I build a scenario to reproduce my problem simply (tgz joined).
I put flags in the second servlet to see where tomcat stops (I have no
stack-trace and the servlet never hands back).
The servlet stops on the instruction which create an ObjectInputStream from
the servlet InputStream (before flag "POST2").
I build gcc and rhug/jakarta-tomcat with UTF-8 encoding.
But I build my program with ISO-8859-1 encoding for my program, as I use
french accents in my strings.
On the advice of Anthony Green, I tried a new compilation of the hwole stuff
(gcj + rhug + my program) with -fno-inline there is no difference.
If you need anything more to investigate, or if you think I should contact
someone in charge of gcj, tell me.
Thanks a lot.
Christophe Roux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scenario.tgz
Type: application/x-gzip
Size: 3380 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20020610/6412a80b/attachment.bin>
More information about the Java
mailing list