This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug analysis


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

Attachment: scenario.tgz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]