RFR: 8313874 - JNI NewWeakGlobalRef throws exception for null arg

Stefan Karlsson stefank at openjdk.org
Tue Aug 8 12:04:29 UTC 2023


On Tue, 8 Aug 2023 10:40:30 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

> or if obj was a weak global reference

There's no check to see if `obj` is a weak global reference in this function. Is that also an oversight or is the spec just weirdly phrased?

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

PR Comment: https://git.openjdk.org/jdk/pull/15188#issuecomment-1669480369


More information about the hotspot-dev mailing list