? patch48280.diff Index: src/org/netbeans/modules/java/j2seproject/queries/CompiledSourceForBinaryQuery.java =================================================================== RCS file: /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/CompiledSourceForBinaryQuery.java,v retrieving revision 1.7 diff -u -r1.7 CompiledSourceForBinaryQuery.java --- src/org/netbeans/modules/java/j2seproject/queries/CompiledSourceForBinaryQuery.java 2 Aug 2004 16:27:47 -0000 1.7 +++ src/org/netbeans/modules/java/j2seproject/queries/CompiledSourceForBinaryQuery.java 2 Sep 2004 10:21:14 -0000 @@ -70,7 +70,7 @@ assert !url.toExternalForm().endsWith("/") : f; // NOI18N url = new URL(url.toExternalForm() + "/"); // NOI18N } - if (url.equals (binaryRoot)) { + if (url.toString().equals (binaryRoot.toString())) { return true; } } Index: src/org/netbeans/modules/java/j2seproject/queries/JavadocForBinaryQueryImpl.java =================================================================== RCS file: /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/JavadocForBinaryQueryImpl.java,v retrieving revision 1.6 diff -u -r1.6 JavadocForBinaryQueryImpl.java --- src/org/netbeans/modules/java/j2seproject/queries/JavadocForBinaryQueryImpl.java 28 Jun 2004 13:41:11 -0000 1.6 +++ src/org/netbeans/modules/java/j2seproject/queries/JavadocForBinaryQueryImpl.java 2 Sep 2004 10:21:14 -0000 @@ -79,7 +79,7 @@ assert !url.toExternalForm().endsWith("/") : f; // NOI18N url = new URL(url.toExternalForm() + "/"); // NOI18N } - return url.equals(binaryRoot) || + return url.toString().equals(binaryRoot.toString()) || binaryRoot.toExternalForm().startsWith(url.toExternalForm()); } } catch (MalformedURLException malformedURL) {