Withdrawn: 6726901: JDWP: ReferenceType.GetValues crashes jvm in case non-static fields are passed
duke
duke at openjdk.org
Tue Jan 21 04:08:42 UTC 2025
On Wed, 20 Nov 2024 18:09:08 GMT, Adam Bruce <duke at openjdk.org> wrote:
> This PR fixes a long-standing bug in JDWP where the access flags of a field are not checked before attempting to read it's value.
>
> Prior to this change, attempting to read a non-static field would cause a JVM crash, this change corrects that behaviour by returning `INVALID_FIELDID` instead.
>
> This is my first PR to OpenJDK, so please let me know if I've made any mistakes in the process.
>
> Cheers,
> Adam
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/22280
More information about the serviceability-dev
mailing list