Fix jniThrowException to print correct error message in NativeMultinetworkJni.cpp
The parameters `actual` and `expected` in the macros EXPECT_{GE,GT,EQ} can be a statement. If their returned value are different, it results in them being called twice. Some statements are not supposed to be called more than once, such as expectAnswersValid that automatically closes the fd. Bug: 242681575 Test: atest CtsNetTestCasesLatestSdk:MultinetworkApiTest Change-Id: Id730bcc3248ae77fcf05db414a7f5a2fe1d212e3
Loading
Please register or sign in to comment