RFR: 7903270: Util classes should be final and have a private constructor [v5]
Per Minborg
duke at openjdk.org
Tue Sep 20 09:17:06 UTC 2022
> This PR makes some of the classes and fields `final`. Also, a general cleanup of the `RuntimeHelper` class is proposed.
>
> There are some files that are "overhidden" (by attempting to "override"/hide static methods). This will be fixed in a separate PR and so these classes are not affected in this PR.
Per Minborg 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:
- Merge branch 'panama' into util-final
- Add option to show generating class
- Make Constants package private
- Make constants package private
- Remove debug output
- Make some classes/fields final and add privat ctr
-------------
Changes:
- all: https://git.openjdk.org/jextract/pull/65/files
- new: https://git.openjdk.org/jextract/pull/65/files/29ce89c2..ba5c422f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jextract&pr=65&range=04
- incr: https://webrevs.openjdk.org/?repo=jextract&pr=65&range=03-04
Stats: 156 lines in 8 files changed: 156 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jextract/pull/65.diff
Fetch: git fetch https://git.openjdk.org/jextract pull/65/head:pull/65
PR: https://git.openjdk.org/jextract/pull/65
More information about the jextract-dev
mailing list