Re: RFR: 8332545: Fix handling of HTML5 entities in Markdown comments

2024-05-20 Thread Jonathan Gibbons
On Mon, 20 May 2024 23:21:31 GMT, Erik Joelsson  wrote:

> Build change looks good.

Thank you

-

PR Comment: https://git.openjdk.org/jdk/pull/19317#issuecomment-2121488205


Re: RFR: 8332545: Fix handling of HTML5 entities in Markdown comments

2024-05-20 Thread Erik Joelsson
On Mon, 20 May 2024 20:17:10 GMT, Jonathan Gibbons  wrote:

> Please review a small fix to address a crash when handling HTML5 entities in 
> a Markdown doc comment.
> 
> The path for the `entities.txt` (originally `entities.properties`) was not 
> correctly imported when importing the latest version of `commonmark-java`. 
> And, the makefiles need to be updated to include the `.txt` file in the 
> image. (The interim module for the interim javadoc already had this fix.)
> 
> A simple new test is provided, containing entities that previously caused 
> `javadoc` to crash.

Build change looks good.

-

Marked as reviewed by erikj (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19317#pullrequestreview-2067198212


Re: RFR: 8332545: Fix handling of HTML5 entities in Markdown comments

2024-05-20 Thread Jonathan Gibbons
On Mon, 20 May 2024 21:20:29 GMT, Pavel Rappo  wrote:

> Assuming the test fails without the fix, but passes with it, looks good.

Confirmed the test fails without the fix (crash, as reported) and passes with 
the fix.

-

PR Comment: https://git.openjdk.org/jdk/pull/19317#issuecomment-2121306491


Re: RFR: 8332545: Fix handling of HTML5 entities in Markdown comments

2024-05-20 Thread Pavel Rappo
On Mon, 20 May 2024 20:17:10 GMT, Jonathan Gibbons  wrote:

> Please review a small fix to address a crash when handling HTML5 entities in 
> a Markdown doc comment.
> 
> The path for the `entities.txt` (originally `entities.properties`) was not 
> correctly imported when importing the latest version of `commonmark-java`. 
> And, the makefiles need to be updated to include the `.txt` file in the 
> image. (The interim module for the interim javadoc already had this fix.)
> 
> A simple new test is provided, containing entities that previously caused 
> `javadoc` to crash.

Assuming the test fails without the fix, but passes with it, looks good.

-

Marked as reviewed by prappo (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19317#pullrequestreview-2067063183


RFR: 8332545: Fix handling of HTML5 entities in Markdown comments

2024-05-20 Thread Jonathan Gibbons
Please review a small fix to address a crash when handling HTML5 entities in a 
Markdown doc comment.

The path for the `entities.txt` (originally `entities.properties`) was not 
correctly imported when importing the latest version of `commonmark-java`. And, 
the makefiles need to be updated to include the `.txt` file in the image. (The 
interim module for the interim javadoc already had this fix.)

A simple new test is provided, containing entities that previously caused 
`javadoc` to crash.

-

Commit messages:
 - JDK-8332545: Fix handling of HTML5 entities in Markdown comments

Changes: https://git.openjdk.org/jdk/pull/19317/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk=19317=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332545
  Stats: 79 lines in 3 files changed: 77 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19317.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19317/head:pull/19317

PR: https://git.openjdk.org/jdk/pull/19317