RFR: 8347474: Options singleton is used before options are parsed [v4]

Archie Cobbs acobbs at openjdk.org
Tue Jan 14 00:45:00 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).

Archie Cobbs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:

 - Minor tweaks.
 - Merge branch 'master' into JDK-8347474
 - Eliminate useless isSuppressed() test and eliminate "lint" reference in Preview.
 - Add regression test.
 - Fix comment.
 - Refactor Options and Lint to allow use early during startup.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23056/files
  - new: https://git.openjdk.org/jdk/pull/23056/files/a4c4e9f7..5661449b

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

  Stats: 3272 lines in 108 files changed: 1254 ins; 1557 del; 461 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