RFR: 8329750: Change Universe functions to return more specific Klass* types
Stefan Karlsson
stefank at openjdk.org
Fri Apr 5 12:01:17 UTC 2024
We have various functions in Universe that returns Klass* where they could be returning TypeArrayKlass* and ObjArrayKlass* instead. If we change these functions we could get rid of some casts in the code. Does this seem like a reasonable change?
-------------
Commit messages:
- 8329750: Change Universe functions to return more specific Klass* types
Changes: https://git.openjdk.org/jdk/pull/18652/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18652&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8329750
Stats: 43 lines in 6 files changed: 2 ins; 7 del; 34 mod
Patch: https://git.openjdk.org/jdk/pull/18652.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18652/head:pull/18652
PR: https://git.openjdk.org/jdk/pull/18652
More information about the graal-dev
mailing list