Community
Participate
Working Groups
Found this problem during verification of bug 168849. When the javadoc is: /** * @see http://en.wikipedia.org/wiki/ISO_8601 */ The warning is: Javadoc: Invalid URL reference. Double quote the reference or use the href syntax When the javadoc is: /** * @see http://en.wikipedia.org/wiki/ISO_8601" */ The warning contains the 'ending' quote and is: Javadoc: Invalid URL reference. Double quote the reference or use the href syntax When the javadoc is: /** * @see "http://en.wikipedia.org/wiki/ISO_8601 */ The warning contains the 'opening' quote and is: Javadoc: Invalid reference In the last case it would be better if the warning is: Javadoc: Invalid URL reference. Double quote the reference or use the href
Created attachment 103553 [details] [proposed patch + test case] on top v_872
Created attachment 112436 [details] Updated patch on top of v_912 Previous proposed patch wrongly changed the warning for following syntax: /** * @see "Invalid */ The updated one proposes the warning "Javadoc: Invalid URL reference..." only when the unterminated string starts with http:// Note that not only 'http' but any name is accepted as we can also have 'https', 'net', 'ftp', etc.
Released for 3.5M2
Verified for 3.5M2 using I20080914-2000