|
From: | ujihara at aurora dot dti dot ne dot jp |
Subject: | [Bug classpath/28512] New: java.net.URL.equals ignores a default port number |
Date: | 27 Jul 2006 13:02:35 -0000 |
The following program returns true in Java but false in classpath. import java.net.*; public class Program { public static void main(String[] args) throws Exception { System.out.println(new URL("http://test.com:80/").equals(new URL("http://test.com/"))); } } -- Summary: java.net.URL.equals ignores a default port number Product: classpath Version: 0.91 Status: UNCONFIRMED Severity: normal Priority: P3 Component: classpath AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ujihara at aurora dot dti dot ne dot jp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28512
[Prev in Thread] | Current Thread | [Next in Thread] |