Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec44be7b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove exception description message" into main

parents b0efdbda c3229d98
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -604,9 +604,7 @@ static jbyteArray android_os_Parcel_marshall(JNIEnv* env, jclass clazz, jlong na
static long ensure_capacity(JNIEnv* env, Parcel* parcel, jint remaining) {
    long dataSize = parcel->dataSize();
    if (remaining < dataSize) {
        jniThrowExceptionFmt(env, "java/nio/BufferOverflowException",
                             "Destination buffer remaining capacity %d is less than the Parcel data size %d.",
                             remaining, dataSize);
        jnihelp::ThrowException(env, "java/nio/BufferOverflowException", "()V");
        return -1;
    }
    return dataSize;