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

Adam Sotona asotona at openjdk.org
Tue Sep 9 11:41:09 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 two additional commits since the last revision:

 - OpParser filtering ANSI coloring
   
 - proposed changes applied

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

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

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

  Stats: 14 lines in 2 files changed: 9 ins; 0 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