RFR: 8347474: Options singleton is used before options are parsed

Archie Cobbs acobbs at openjdk.org
Sun Jan 12 22:55:08 UTC 2025


This PR proposes some cleanup/refactoring relating to startup ordering issues in the compiler.

Please see the follow-up comment for a more complete description (trying to keep the first comment short).

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

Commit messages:
 - Fix comment.
 - Refactor Options and Lint to allow use early during startup.

Changes: https://git.openjdk.org/jdk/pull/23056/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23056&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347474
  Stats: 323 lines in 14 files changed: 163 ins; 66 del; 94 mod
  Patch: https://git.openjdk.org/jdk/pull/23056.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23056/head:pull/23056

PR: https://git.openjdk.org/jdk/pull/23056


More information about the compiler-dev mailing list