Dominik Süß created FELIX-6672:
----------------------------------
Summary: Potentially losing comment state between reads on
CommentRemovingReader
Key: FELIX-6672
URL: https://issues.apache.org/jira/browse/FELIX-6672
Project: Felix
Issue Type: Bug
Affects Versions: cm.json-2.0.4
Reporter: Dominik Süß
Fix For: cm.json-2.0.6
In more extensive testing on real world data I found a case that was not
properly handled in the rewrite towards BufferedReader. If. a read ends between
the first / and the subsequent / or * for comment start, the detection will
currently fail.
To fix this I refactored the detection logic that should now also be
significantly better readable always capturing the previous char on class level
allowing to check for char double char sequences that may be split by the
reads.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)