8244220: Compiler error in jpackage with VS2019

Reviewed-by: herrick, almatvee, prr
This commit is contained in:
Alexey Semenyuk 2020-05-02 11:02:48 -04:00
parent f0f7070cb5
commit eee32495a1

View File

@ -48,6 +48,10 @@ struct JniObjWithEnv {
return ! operator == (other);
}
explicit operator bool() const {
return env && obj;
}
JNIEnv *env;
jobject obj;