RFR: CODETOOLS-7903176: Move LJV inside JOL [v2]
Ivan Ponomarev
duke at openjdk.org
Sun Sep 25 07:31:41 UTC 2022
On Mon, 22 Aug 2022 08:19:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Ivan Ponomarev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> update copyright notice, lint
>
> jol-core/src/main/java/org/openjdk/jol/ljv/GraphvizVisualization.java line 55:
>
>> 53: public void diagramBegin() {
>> 54: out.setLength(0); // Clearing String Builder before starting new DOT
>> 55: out.append("digraph Java {\n")
>
> Here and later, `\n` should actually be `System.lineSeparator()` to provide platform-independent line breaks. This would probably make golden test output platform-dependent, though? We can rehash this after the integration.
No it won't be a problem for Approvals tests, as far as I understand it can treat the line ending discrepancies correctly.
However I can notice `\n` in `OptionFormatter` and `ClassLayout`, so maybe postpone the line ending problem?
-------------
PR: https://git.openjdk.org/jol/pull/24
More information about the jol-dev
mailing list