Hi, I have problems to use the link argument with the javadocs from java.sun.com. It seems that a FileNotFoundException wasn't caught for fetching "gjdoc.compat".
Created attachment 10052 [details] Simple test class You can verify the problem with "gjdoc -link http://java.sun.com/j2se/1.4/docs/api Test.java" gjdoc throw a warning like "WARNING: Cannot fetch package list from null"
Created attachment 10053 [details] Simple fix for the problemby adding a try/catch block.
Your patch looks good, committed. Thanks, Stephan.
Subject: Bug 24509 CVSROOT: /cvsroot/classpath Module name: gjdoc Branch: Changes by: Julian Scheid <julian@savannah.gnu.org> 05/10/25 16:20:44 Modified files: src/gnu/classpath/tools/doclets/htmldoclet: ExternalDocSet.java . : ChangeLog Log message: 2005-10-25 Stephan Michels <stephan@apache.org> PR gjdoc/24509: * src/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java: Intercept FileNotFoundException so that a missing 'gjdoc.compat' file doesn't break linking to javadoc-generated documentation. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/gjdoc/src/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/gjdoc/ChangeLog.diff?tr1=1.237&tr2=1.238&r1=text&r2=text _______________________________________________ Cp-tools-commit mailing list Cp-tools-commit@gnu.org http://lists.gnu.org/mailman/listinfo/cp-tools-commit