Skip to content
Permalink
Browse files

8244220: Compiler error in jpackage with VS2019

Reviewed-by: herrick, almatvee, prr
  • Loading branch information
Alexey Semenyuk
Alexey Semenyuk committed May 2, 2020
1 parent f0f7070 commit eee32495a1ab3dc9c365b0183d9291e23c97c05b
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/jdk.incubator.jpackage/windows/native/libjpackage/JniUtils.h
@@ -48,6 +48,10 @@ struct JniObjWithEnv {
return ! operator == (other);
}

explicit operator bool() const {
return env && obj;
}

JNIEnv *env;
jobject obj;

0 comments on commit eee3249

Please sign in to comment.