[code-reflection] RFR: OpWriter.ColoringOption proposal [v3]

Adam Sotona asotona at openjdk.org
Mon Sep 8 17:57:03 UTC 2025


> I propose `OpWriter` enables simple ANSI coloring based on `jdk.incubator.code.extern.OpWriter.COLOR` system property.
> 
> ANSI coloring sample:
> <img width="989" height="746" alt="ansi-coloring" src="https://github.com/user-attachments/assets/2025bcbe-6c6c-48ab-8ed5-67ff88b47fe6" />

Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:

  removed ColoringOption
  ANSI coloring is triggered by jdk.incubator.code.extern.OpWriter.COLOR property

-------------

Changes:
  - all: https://git.openjdk.org/babylon/pull/546/files
  - new: https://git.openjdk.org/babylon/pull/546/files/095a11c7..d4501a1f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=546&range=02
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=546&range=01-02

  Stats: 40 lines in 1 file changed: 0 ins; 35 del; 5 mod
  Patch: https://git.openjdk.org/babylon/pull/546.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/546/head:pull/546

PR: https://git.openjdk.org/babylon/pull/546


More information about the babylon-dev mailing list