gcj minor bug
Christophe Roux
ch_roux@club-internet.fr
Fri Dec 13 13:26:00 GMT 2002
I use Rhug as a java user, so I am not very aware of usage for submitting
bugs for GCJ.
When trying to connect ot posgresql with pgsql-jdbc, I had a problem of
database recognition with the Driver.
In fact, I discovered a bug in gcj by the way :
The class StringTokenizer, when returning all tokens ( also separators ),
gives empty tokens for separators;
in fact, the code "substring( pos, ++pos )" return an empty string;
one's should have writen "substring( pos - 1, ++pos )" which return a single
caracter for the separator.
I corrected the class for me, and I thought it would be great to give it to
the community.
But I read the steps needed to contribute to gcj, and my reaction is :
It is very complicated to contribute.
So I ask, can someone tell me how to contribute with a small patch to GCJ
whithout a lot of stuff.
More over, may be some of you are used to do so and can relay my patch to GCJ.
I join the class StringTokenizer after correction.
More over, I give two other classes, patches to gcj for sockets and
deserialisation of vectors.
Thanks in advance
Christophe Roux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StringTokenizer.java
Type: text/x-c
Size: 8629 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/rhug-rhats/attachments/20021213/a304d64f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Connection.java
Type: text/x-java
Size: 7728 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/rhug-rhats/attachments/20021213/a304d64f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ObjectInputStream.java
Type: text/x-c
Size: 43539 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/rhug-rhats/attachments/20021213/a304d64f/attachment-0002.bin>
More information about the Rhug-rhats
mailing list