Subject Problems with org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.connect
Author Serge Bogatyrev

Some implementation details causes an error like "Unable to complete
network request to host "localhost""

To build "user_id" the following expression is used:
This expression throws an exception if there is no appropriate
information about local host name in /etc/hosts.
The problem is quite confusing because "isql" utility successfully
connects to a database.

I think that the thrown exception can be ignored or more informative
error message should be used.

From the other point of view there is another problem with the same code.
For example, I can use Cyrillic host name (or user name). I have not a
clear understanding of how "user_id" is used, but
at any case String.length() can not be used to allocate enough space
for a byte array.

Serge Bogatyrev.