/*
* Copyright ( C ) 2013 The Android Open Source Project
*
* Licensed under the Apache License , Version 2 . 0 ( the " License " ) ;
* you may not use this file except in compliance with the License .
* You may obtain a copy of the License at
*
* http : //www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing , software
* distributed under the License is distributed on an " AS IS " BASIS ,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied .
* See the License for the specific language governing permissions and
* limitations under the License .
*/
#include <stdio.h>
#include "jni.h"
namespace art {
namespace Test2932 {
extern "C" JNIEXPORT void JNICALL Java_art_Test2392_parkNative(JNIEnv* env, jclass klass) {
jmethodID park_virtual_method_id = env->GetStaticMethodID(klass, "parkVirtual" , "()V" );
if (park_virtual_method_id == nullptr) {
env->ThrowNew(env->FindClass("java/lang/RuntimeError" ),
"Failed to find parkVirtual method" );
return ;
}
env->CallStaticVoidMethod(klass, park_virtual_method_id);
}
} // namespace Test2932
} // namespace art
Messung V0.5 in Prozent C=86 H=94 G=89
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-06-29)
¤
*© Formatika GbR, Deutschland