Java: handle printing an empty comment (/**/); add relevant tests

This commit is contained in:
Chris Smowton
2022-12-15 12:14:37 +00:00
committed by Jeroen Ketema
parent d4eb2b964c
commit 2ca56e0c1e
5 changed files with 32 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
---
category: fix
---
* We now correctly handle empty block comments, like `/**/`. Previously these could be mistaken for Javadoc comments and led to attribution of Javadoc tags to the wrong declaration.