The implementation in cvs for GCJ's java.net.URI does currently not store the hostname attribute from a URI. It seems as if this variable is just forgotten to be assigned in the URI(String) constructor. The effect of this is that a getHost() method call always returns null because its underlying variable host is never set.
-- Summary: GCJ implementation of java.net.URI misses host support Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Fabian dot Groffen at cwi dot nl CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19444