RFR: Fix empty arrays visualization
Ivan Ponomarev
duke at openjdk.org
Tue Feb 6 08:55:14 UTC 2024
Currently, visualization of an empty array produces invalid DOT (see https://github.com/atp-mipt/ljv/issues/28)
The solution proposed is as discussed in that issue in 2021 (we now show array component type as well, also treating primitive types and "multidimensional" arrays correctly, that is `int[]`, `int[][]` etc).
This PR also changes the expected version of Java for LJV approval tests from 11 to 8 in order to simplify development of LJV as a part of JOL.
-------------
Commit messages:
- fix empty arrays Visualization. Show array component type
Changes: https://git.openjdk.org/jol/pull/57/files
Webrev: https://webrevs.openjdk.org/?repo=jol&pr=57&range=00
Stats: 196 lines in 25 files changed: 72 ins; 34 del; 90 mod
Patch: https://git.openjdk.org/jol/pull/57.diff
Fetch: git fetch https://git.openjdk.org/jol.git pull/57/head:pull/57
PR: https://git.openjdk.org/jol/pull/57
More information about the jol-dev
mailing list