Integrated: JDK-8283648: Improve the snippet "file not found" message.
Jonathan Gibbons
jjg at openjdk.java.net
Fri Mar 25 21:22:47 UTC 2022
On Fri, 25 Mar 2022 04:27:55 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> Please review a (mostly) resource-file change to improve the message when the file for an external snippet cannot be found.
>
> Previously, the code (re)used an existing resource, "File not found". This resource was used in conjunction with files specified on the command line, like a help file or a stylesheet file. Thus, little extra context was needed.
>
> For external snippets, the underlying problem is less overtly connected to anything specific on the command line, although the problem may be on the command line or related to info on the command line. Thus, a new resource is created specifically for external snippet files, that hints at issues with (files on) the source path or snippet path.
>
> The main snippet test is updated.
This pull request has now been integrated.
Changeset: cb012a5b
Author: Jonathan Gibbons <jjg at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/cb012a5b625a7707c429f1e95db59018a6dcb992
Stats: 9 lines in 3 files changed: 1 ins; 0 del; 8 mod
8283648: Improve the snippet "file not found" message.
Reviewed-by: prappo
-------------
PR: https://git.openjdk.java.net/jdk/pull/7951
More information about the javadoc-dev
mailing list