google / jni-bind

JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).
Apache License 2.0
244 stars 29 forks source link

Fix bad member initialisation order in `jni::Class`. #331

Closed copybara-service[bot] closed 1 month ago

copybara-service[bot] commented 1 month ago

Fix bad member initialisation order in jni::Class.

I'm unclear why this wouldn't always cause a compilation failure instead of just a warning.

I will push warnings to errors for testing in a downstream CL to catch this in the future.