Re: RFR: 8348282: Add option for syntax highlighting in javadoc snippets [v4]

2025-04-23 Thread Chen Liang
On Wed, 9 Apr 2025 04:15:20 GMT, Hannes Wallnöfer wrote: >> Please review a change to add a `javadoc` option to enable syntax >> highlighting for code fragments in snippets and `` tags. The new >> `--syntax-highlight` option uses the [highlight.js] JavaScript library and >> supports Java, Pro

Re: RFR: 8348282: Add option for syntax highlighting in javadoc snippets [v4]

2025-04-23 Thread Nizar Benalla
On Wed, 9 Apr 2025 04:15:20 GMT, Hannes Wallnöfer wrote: >> Please review a change to add a `javadoc` option to enable syntax >> highlighting for code fragments in snippets and `` tags. The new >> `--syntax-highlight` option uses the [highlight.js] JavaScript library and >> supports Java, Pro

Re: RFR: 8346785: Potential infinite loop in JavadocTokenizer.ensures

2025-04-23 Thread Hannes Wallnöfer
On Tue, 15 Apr 2025 14:12:49 GMT, Vicente Romero wrote: >> Please review this patch to fix a potential infinite loop in >> `JavadocTokenizer.ensure` when `map.length` and `size + need` approach >> Interger.MAX_VALUE. >> >> While I couldn't reproduce the issue even with large inputs (~1.9GB jav