Re: RFR: 8303227: JniObjWithEnv should be NullablePointer compliant

2023-02-28 Thread Alexey Semenyuk
On Mon, 27 Feb 2023 08:19:53 GMT, Julian Waters wrote: > JniObjWithEnv is a struct that is commonly managed by std::unique_ptr. > Although it can support managing objects that are not raw pointers, any such > objects have to be > [NullablePointers](https://en.cppreference.com/w/cpp/named_req/N

Re: RFR: 8303227: JniObjWithEnv should be NullablePointer compliant

2023-02-28 Thread Julian Waters
On Mon, 27 Feb 2023 08:19:53 GMT, Julian Waters wrote: > JniObjWithEnv is a struct that is commonly managed by std::unique_ptr. > Although it can support managing objects that are not raw pointers, any such > objects have to be > [NullablePointers](https://en.cppreference.com/w/cpp/named_req/N

RFR: 8303227: JniObjWithEnv should be NullablePointer compliant

2023-02-27 Thread Julian Waters
JniObjWithEnv is a struct that is commonly managed by std::unique_ptr. Although it can support managing objects that are not raw pointers, any such objects have to be [NullablePointers](https://en.cppreference.com/w/cpp/named_req/NullablePointer). In the past this has [broken the build when com