RFR: 8253736: Cleanup some of WorkArounds and usage thereof.

Jonathan Gibbons jjg at openjdk.java.net
Tue Sep 29 21:06:40 UTC 2020


This cleanup is primarily focussed on the WorkArounds class, simplifying/removing code that is no longer required.

Also, simplified DocLint initialization such that it no longer needs a `JavacTask` and so the initiate code can be
moved out of `WorkArounds`.

The "constant value expression" in Utils is simplified to remove a redundant level of enclosing nested class for the
type-kind visitor.

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

Commit messages:
 - Adjust for DocLint move
 - Merge master
 - Cleanup some of WorkArounds and usage thereof.

Changes: https://git.openjdk.java.net/jdk/pull/412/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=412&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253736
  Stats: 427 lines in 12 files changed: 190 ins; 155 del; 82 mod
  Patch: https://git.openjdk.java.net/jdk/pull/412.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/412/head:pull/412

PR: https://git.openjdk.java.net/jdk/pull/412


More information about the compiler-dev mailing list