RFR: 8297519: Improve expressions and modernise code [v3]

Per Minborg pminborg at openjdk.org
Wed Nov 30 08:03:50 UTC 2022


> During the work of another PR (https://github.com/openjdk/jdk/pull/11260), several improvement areas were identified. These are now adressed in this separate PR proposing the use of more modern Java constructs as well as simplifying a large number of logical expressions that were previously non-normative. 
> 
> 
> This branch has been tested and passed tier1-4 tests.

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Remove switch and use pattern matching

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11348/files
  - new: https://git.openjdk.org/jdk/pull/11348/files/8bfb4ad8..7be9041d

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

  Stats: 18 lines in 2 files changed: 0 ins; 11 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/11348.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11348/head:pull/11348

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



More information about the security-dev mailing list