RFR: 8298241: Replace C-style casts with JavaThread::cast [v2]
David Holmes
dholmes at openjdk.org
Mon Dec 19 04:48:52 UTC 2022
On Thu, 15 Dec 2022 22:21:35 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fixed commented examle.
>
> Is it possible to add a test based on grep to prevent re-introduction of the unwanted C-style casts?
Sorry @dougxc only found your comment by accident. AFAIK we don't have any such style of tests that would try to check the source code for an anti-pattern. Our test suites don't have access to the src tree when they run.
-------------
PR: https://git.openjdk.org/jdk/pull/11682
More information about the hotspot-dev
mailing list