On Tue, 21 Jul 2026 09:37:23 GMT, Hannes Wallnöfer <[email protected]> wrote:

> Please review a change to update commonmark-java used for Markdown 
> documentation comments to version 0.29.0.
> 
> The update is a clean re-import of commonmark-java sources at tag 
> commonmark-parent-0.29.0:
> https://github.com/commonmark/commonmark-java/tree/commonmark-parent-0.29.0
> 
> The commonmark-java code was imported with the following changes:
> 
>  - Add GPL license headers
>  - Change package names to jdk.internal.org.commonmark.*
>  - Add required @SuppressWarnings and @Deprecated annotations in the 
> following classes to avoid warnings during compilation:
>       - BlockStartImpl.java
>       - Defintions.java
>       - InlineParserContextImpl.java
>       - TextContentRenderer.java
>  - Update resource package path to "/jdk/internal/org/commonmark ..." in 
> Html5Entities.java
>  - Our MarkdownTransformer adapter class required some changes as a method we 
> previously implemented to resolve JavaDoc references was deprecated and 
> replaced by a different method
> 
> Changes were compared manually against the base version. The changes pass 
> tier1 langtools tests.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 4691e9c1
Author:    Hannes Wallnöfer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4691e9c192cc30c4c08d46632f248c463b3bd48c
Stats:     3749 lines in 102 files changed: 2263 ins; 1099 del; 387 mod

8380051: Update commonmark-java to 0.29.0

Reviewed-by: nbenalla

-------------

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

Reply via email to