RFR: [15] JDK-8245696 javadoc crashes when a doc-files directory contains a '#' file

Hannes Wallnoefer HANNES.WALLNOEFER at ORACLE.COM
Wed Jun 17 13:13:01 UTC 2020


Hi Jon,

Looks good!

Hannes

> Am 17.06.2020 um 06:48 schrieb Jonathan Gibbons <jonathan.gibbons at oracle.com>:
> 
> Please review a simple fix to prevent javadoc crashing when it encounters a badly-named
> file in a doc-files subdirectory.
> 
> The problem is caused by checks in JavaFileManager causing IllegalArgumentException
> to be thrown. Rather than catch those exceptions, the files in the doc-files source
> directory are checked with similar checks, so that a warning can be given and the
> files ignored.
> 
> -- Jon
> 
> JBS: https://bugs.openjdk.java.net/browse/JDK-8245696
> Webrev: http://cr.openjdk.java.net/~jjg/8243113/webrev.00/
> 



More information about the javadoc-dev mailing list